MatLab 

Build a JavaScript Command Line Interface (CLI) with Node.js

As great as Node.js is for “traditional” web applications, its potential uses are far broader. Microservices, REST APIs, tooling, working with the Internet of Things and even desktop applications: it’s got your back. Another area where Node.js is really useful is for building command-line applications — and that’s what we’re going to be doing in this article. We’re going to start by looking at a number of third-party packages designed to help work with the command line, then build a real-world example from scratch. What we’re going to build is…

Read More
css 

JavaScript Calculator Example

In this tutorial, I will tell you two ways to make a calculator using basic HTML, CSS and JavaScript. In first way we make functions for all operations and in the second we use some inbuilt global function to make a calculator. In both cases we are going to add some simple math operations like addition, subtraction, multiplication, division in our basic calculator. This project will help you to improve your logical ability and coding skills. JavaScript Calculator Example Method 1: Mainly the functions that we need to work for…

Read More
java 

Top 10 Courses to Learn JavaScript in 2019 – Best of Lot

There is no doubt that JavaScript is the most popular programming language at this moment and it's also confirmed by StackOverFlow's Survey. You can build static websites, web applications, native mobile applications (yes you can do that too), desktop applications and even server-side application in JavaScript. It also makes you a hundred time more employer as there are tons of web development jobs out there. Because of that ore and more developers are learning JavaScript to become a web developer. Java, Unix, Tibco RV and FIX Protocol Tutorial

Read More
css 

Building an Admin Dashboard Layout With CSS and a Touch of JavaScript

What You’ll Be Creating In this new tutorial, we’ll create a responsive admin dashboard layout with CSS and a touch of JavaScript. To build it, we’ll borrow some ideas from the WordPress dashboard, such as its collapsible sidebar menu. Throughout the tutorial we’ll face plenty of challenges, but ones which will give us good practice for enhancing our front-end skills. Without further ado, let’s have a look at the final admin dashboard demo (hit the Collapse button at the foot of the sidebar to see the collapsible nav in action, and…

Read More

JavaScript Proxy with Storage

The JavaScript Proxy API provides a wealth of “magic” within JavaScript, allowing you to use any object as sort of an alias that allows a wall of validation, formatting, and error throwing. Did you know that you could also employ the Proxy API as an abstraction to different types of storage? Whether it’s sessionStorage, localStorage, or IndexedDB, you can use a proxy to make the API much easier to work with! A very basic usage of the Proxy API is as follows: /* const proxy = new Proxy({}, { get:…

Read More

JavaScript Reverse String – 4 Ways

In this tutorial I will talk about how you can reverse a string in JavaScript language. This is a very popular question i.e. asked in interviews. There are many ways in which we can reverse a string. Here I will discuss different ways in which we can achieve this. JavaScript Reverse String Using Buitin Function To reverse a string using built-in methods we have to chain some methods like join, split and reverse. For this first, we need to convert the string into an array by using split method then…

Read More
css 

A Quick Full-Screen Hover Effect With CSS and JavaScript

In today’s quick tutorial we’ll learn how to build a useful full-screen background hover effect. As the saying goes: “a picture is worth a thousand words”, so let’s have a look at what we’re going to create: In a real world scenario you might use this kind of effect as a quick view modal for your products, portfolio items, photos, and so on. Let’s get started! 1. Begin With the Page Markup We’ll start by marking up just two elements: <div class=”bg”></div> <div class=”container”>…</div> The .bg element will be an empty element.…

Read More

Reverse Lookups with JavaScript

I’ve always loved exploring regular expressions because they’re one of those skills that’s never taught in school — you need to pick them up on the fly, messing up and fixing them along the way. Regex’s are incredibly powerful, and one power they have are referred to as backreferences, which essentially allow you to use a match within the same regular expression. The easiest way to explain a backreference is with a simple goal: using a regex to simulate destructuring. Take the following code snippet: const body = document.blah.body; With…

Read More