Posts from JavaScript

JavaScript string.normalize() Method

By Keshav J

In this tute, we will discuss the JavaScript string.normalize() method | return Unicode normalization. The JavaScript string.normalize() method is used to normalize the given strin.... Read More

JavaScript string.match() method

By Keshav J

In this tute, we will discuss the JavaScript string.match() method. The JavaScript match() is an in-built function used to search for a given string in the original string. The mat.... Read More

Null vs Undefined in JavaScript

By Divyanshu Tewari

In this tutorial, we will learn the basic differences between Null and Undefined in JavaScript. The difference between NULL and Undefined is as follows: NULL: The null keyword in J.... Read More

How to Refresh a page using JavaScript

By Faruque Ahamed Mollick

I am again with a new JavaScript article for browsers. In this article, I am going to let you know how you can refresh the current web page with JavaScript code. So let’s con.... Read More

Detect Browser in JavaScript with Platform.js

By Faruque Ahamed Mollick

In this article, I am going to tell you one of the easiest ways of detecting the browser in JavaScript. To do this task, we are going to use the Platform.js JavaScript library. Usi.... Read More

Define a Function in JavaScript

By Faruque Ahamed Mollick

Functions in JavaScript are custom code written by programmers that are reusable and can prevent you from writing the same code again and again. All it needs is just call the funct.... Read More

Count the number of words in a string in JavaScript

By Faruque Ahamed Mollick

It is quite an easy task to count the number of words in a given string with JavaScript. In this article, I will show you how to perform this task. To count words from the string, .... Read More

Change Background Color on Mouse Hover in JavaScript

By Faruque Ahamed Mollick

In this JavaScript HTML DOM tutorial, I am going to show you how we can change the background color of an element. Before we get started, let’s create an HTML element with an.... Read More