Skip to content

Tag Archives: JavaScript-Methods

Do you want to calculate the percentage? If yes, then you can make a simple Percentage calculator using HTML, CSS, and JavaScript. In this article,… Read More
Cocktail Sort is a variation of Bubble sort. Cocktail Sort traverses through a given array in both directions alternatively. In order to know more about… Read More
In this article, we will be discussing the PreventDefault & stopPropagation methods with suitable code examples for each condition & then we will see the… Read More
Gnome Sort also called Stupid sort, is based on the concept of a Garden Gnome sorting his flower pots. In order to know more about… Read More
Light-on-dark color scheme, also called black mode, dark mode, dark theme, or night mode. In this mode, light-colored text, icons are displayed on a dark-colored… Read More
In this article, we will see how to apply a function against an accumulator and each key in the object in JavaScript. Accumulators can be… Read More
Enumerable Properties: All the properties of an object that can be iterated using for..in loop or Object.keys() method are known as enumerable properties. In this… Read More
The predicate in JavaScript is the same as the predicate maths which returns true or false.  The predicate is just like a function that determines… Read More
JavaScript is single-threaded asynchronous function is a time-consuming operations that can be performed without blocking other operations of the thread. This can be done by… Read More
It is quite easy to develop such a client-side application. The primary colors as we know are Red(R), Green(G), Blue(B) and by mixing them we… Read More
Student Grade Calculator (SGC) can be used to calculate a percentage based on the marks of students. (SGC) is a fairly reliable indicator of student… Read More
ECMAScript is a part of JavaScript language which is mostly used in web technology, building websites, or web apps. ECMAScript is growing as one of… Read More
In this article, we are going to learn about one-time events in JavaScript and how we can create them. To perform a task we generally… Read More
Below is an example of the Intl method. Example :  Javascript <script> function func(){      // Original Array    var arr = ['z', 's', 'l', 'm',… Read More
In this article, we have given an array of strings and the task is to convert it into an array of numbers in JavaScript. Input:… Read More