Skip to content

Tag Archives: JavaScript-Misc

Introduction: TODO List are the lists that we generally use to maintain our day to day tasks or list of everything that we have to… Read More
Components in Vue.js need to share data with each other sometimes in order to give the desired output. Components in a webpage are in a… Read More
Explosion animation can be created using canvas in HTML. Approach: At first, we have to create a canvas element in HTML and get its reference… Read More
In this article, we will create a RGB color generator using HTML, CSS, and JavaScript. Using RGB color generator, we can construct all the colors… Read More
We have given a button, and the task is to count how many times the button is clicked using JavaScript.  Approach: First, we will create… Read More
Given an HTML document containing input fields that holds the side of triangle i.e. side1, side2, and side 3. The task is to find the… Read More
Given an HTML document, the task is to detect a virtual keyboard if it pops up on the device’s screen. A virtual keyboard is a… Read More
In this article, we will be explaining the steps and various logic required in making of the famous Pig Game, which is a virtual dice… Read More
JavaScript has two scopes which are the local scope and global scope and when we directly assign a variable without declaring, it become a global… Read More
Given a link with onclick() event and return statement and the task is to get the effect after clicking the event. Below is a code… Read More
Bubble sort algorithm is an algorithm that sorts the array by comparing two adjacent elements and swaps them if they are not in the intended… Read More
In this article, we are going to learn how we can clear the session storage of a browser using JavaScript by getting the specified session… Read More
Mithril is a client-side JavaScript framework used to create a single-page application. There are lots of other popular frameworks, and those are popular enough and… Read More
The Green Screen Algorithm (also known as chromakey algorithm) is used to change the background image which is green color and replace it with any… Read More
In this article, we will discuss 7 cool shorthand tricks in JavaScript that will save the developer time. 1. Arrow Function: JavaScript Arrow functions were… Read More