Posts for Javascript

JavaScript, often abbreviated as JS, is a high-level, interpreted scripting language that conforms to the ECMAScript specification. JavaScript has curly-bracket syntax and dynamic typing

Build a Crud application with JavaScript

In this tutorial, we will be looking at how we can create a Crud application with JavaScript. In the course of this article, we will create a Todo app. It is focused more on beginners learning javascript. A todo app is the most popular thing to build when learning a new programming language, and all you need […]

June 8, 2020 in Javascript & Tutorials

Understanding Top Core Essentials in RXJS

In this article, we are going to talk about the basics of Reactive programming. RxJS is a library for composing asynchronous and event-based programs by using observable sequences. Core Essentials in RXJS Observables: represents the idea of an invokable collection of future values or events. Observables are pretty useful and are used to handle the […]

May 21, 2020 in Javascript & Tutorials
Deven
Deven wrote

Object-Oriented Programming in JavaScript

Object-oriented programming is where we use objects to model real-world things to represent our programs while providing a simple way to access functionality. In JavaScript, almost everything is referred to as an object. It is possible to create your own objects to encapsulate related functions and variables to act as containers. It is paramount to […]

May 11, 2020 in Javascript

How to Use Import and Export in JavaScript

One of the greatest features of ES6 is the ability to export and import the javascript modules. Before ES6, importing modules could be included in a script by using the require() function.  ES6 introduced the import and export keywords which bring Javascript more in line with programming languages like Java. Exporting Modules ES6 modules are […]

May 2, 2020 in Code examples & Javascript
Deven
Deven wrote

7 JavaScript Design Patterns Every developer should know

Design patterns in JavaScript are reusable solutions applied to commonly occurring problems in writing JavaScript web applications. It is quite appropriate to refer JavaScript design patterns as templates to provide solutions to problems but not quite to say that these patterns can replace the developers. Design patterns help combine experiences of many developers to structure […]

April 28, 2020 in Javascript

Array.prototype.entries() and Array.prototype.every() methods – Made Easy

ES6 version of JavaScript unwraps a list of array iteration methods that helps its developers write clean and readable code. Included in the list of array iteration methods are Array.prototype.entries() and Array.prototype.every() method which will be explained in this article. In this article, we will understand the entries() method and the every() method, as well […]

April 27, 2020 in Code examples & Javascript

Array.prototype.filter() Made Easy

The filter() method is an immutable JavaScript array iteration method that creates a new array filled with all the original array elements that pass the test provided by the callback function without changing the original array. It does not execute the function for array elements without values. Also, it does not mutate the original array. We will […]

April 23, 2020 in Code examples & Javascript
Deven
Deven wrote

Building a Twitter Clone Using JQuery

In this project, we are going to create a Twitter clone using HTML, CSS, and JQuery only. We will create the Registration screen and Twitter wall, where you can post tweets that will have 250 characters limit. You can also retweet and like the tweets. But since we are not using any server and database, […]

April 16, 2020 in Javascript & Jquery

Array.prototype.reduce() Made Easy

The Array.prototype.reduce() method is an immutable JavaScript array iteration method that executes a callback function on each element of the array, resulting in a single output value.   Syntax Callback Function Syntax The callback function houses the conditions to be executed over each element of the array.  The callback function receives 4 parameters which include: […]

April 11, 2020 in Code examples & Javascript

Building A Speech Recognition App Using Javascript

In this article, we will build a speech recognition application in javascript without any external api or libraries. We will make use of the built-in speechRecognition api which lives in the browser. Prerequisites Basic understanding of HTML and CSS Good understanding of JavaScript We will use live-server to sever our application.To do that we need […]

April 6, 2020 in Javascript

Array.prototype.map() Made Easy

The Array.prototype.map() is an immutable JavaScript array iteration method that creates a new array containing the results of executing a callback function on every element in the initial array. It does not mutate the original array. We will make reference to the code snippet above as we progress. Syntax Callback function Syntax The callback function […]

April 3, 2020 in Code examples & Javascript

Understanding Technical concepts in JavaScript

One can always be a great driver without knowing how the automobile system operates. Similarly, you can be a good developer without understanding the inner workings of the JavaScript language. In this article, we will understand the difference between asynchronous and synchronous operations in JavaScript. Also, we will understand what meaning of this popular definition […]

March 10, 2020 in Code examples & Javascript
Deven
Deven wrote

6 Use cases of Array .map() You should know

In JavaScript, iterating over datasets is done traditionally using the For loop. Later ES6 came with other variance of the For loop i.e ForEach loop. In this tutorial, we are going to look at the traditional For loop and juxtapose it with the new .map() method. According to MDN Documentation, The .map() method creates a new array […]

February 22, 2020 in Javascript & Tutorials