Arrow Functions

Learn Arrow Functions in ES6

You don’t need to have kept up with every ES6 change to know about Arrow functions, they’ve been the source of much talk and some confusion (at least initially) to JavaScript developers. I just want to point out how arrow functions provide a method for condensed code for simple functions: // Adds a 10% tax to total Normal Function Declaration – function calculateTotal (total){ return … Continue reading Learn Arrow Functions in ES6


Easy way to learn Asynchronous JavaScript Callbacks

Functions in JavaScript are treated as first-class objects. This means that they have a type of Object and can be referenced like any other first-class object, such as Date, Number, and String. This may seem obvious to you, but it’s important to remember that the nature of functions in JavaScript are quite different then, for example, methods in Ruby. So what does this mean? Since … Continue reading Easy way to learn Asynchronous JavaScript Callbacks

OpenRates Currency API

Learn OpenRates Currency API

Today’s topic is OpenRates Currency API. Creating your own APIs can be a total nightmare: worrying about uptime, load balancing, data accuracy, caching, and all of the other risks would keep me up at night. And if your API relates to money in any way? If you get that wrong you could be costing yourself, your employer, or your client a ton of money. I’ve … Continue reading Learn OpenRates Currency API

Double Equals VS. Triple Equals

Comparison Between Double Equals vs. Triple Equals in JavaScript

Comparing two values with Double Equals vs. Triple Equals in any language is the most used operations. In many cases you may need to compare different variables values, that is the reason in many JavaScript code you will find following lines: if (age == years) {     // do something here  } or JavaScript which follows best practices, you will find: if (age === years) {     // do … Continue reading Comparison Between Double Equals vs. Triple Equals in JavaScript

Multiplication Table

Multiplication Table with HTML5, CSS3 and JavaScript

This is a simple tutorial of Multiplication Table using HTML5, CSS3, and JavaScript. Click the DEMO link to see the demo of this Calculator. Download the source code just click the link – DOWNLOAD (Multiplication Table Zip File) Here the total table is created with JavaScript using for loop. Below see the Codepen Demo. See the Pen Multiplication Table with JavaScript by Pranab (@Phe0nix) on CodePen. And this … Continue reading Multiplication Table with HTML5, CSS3 and JavaScript

Understand Scope

Understand Scope in JavaScript

The scope is one of the very important and basic things of JavaScript that you need to know to understand how the function’s work. So, what is it basically, Scopes basically a priority order for a variable means it’s basically deciding which variables to show and which variables are not. Types of Scope There are many types are available in javascript, but most important types … Continue reading Understand Scope in JavaScript