Skip to content

Tag Archives: JavaScript-Questions

In this article, we are going to see and use different ways of using SVGs ( Scalable Vector Graphics). Method 1: The quickest way using… Read More
Hex color is a six-digit code representing the amount of red, green, and blue that makes up the color. Hex color generator gives the hex… Read More
3D Hover Annotation Card: Upon hovering the card will display another card in 3D effect on top, the card possesses a tilting effect as well.… Read More
JavaScript Unshift() method is very much similar to the push() method but the difference is that the unshift() method adds the elements at the very… Read More
In this article, we will create an explosion animation using canvas in HTML. Approach: At first, we have to create a canvas element in HTML… Read More
In this article, we are given a button, and the task is to count how many times the button is clicked using JavaScript.  Approach: First,… Read More
Given an HTML document containing input fields that hold the sides of the triangle i.e. side1, side2, and side 3. The task is to find… Read More
In this article, we are given an HTML document, the task is to detect a virtual keyboard if it pops up on the device’s screen.… Read More
JavaScript has two scopes which are the local scope and global scope and when we directly assign a variable without declaring, it becomes a global… Read More
The Approach of this article is to return the number of vowels in a string using Javascript. A vowel is also a letter that represents… Read More
In this article, we will discuss 7 cool shorthand tricks in JavaScript that will save the developer time. Arrow Function: JavaScript Arrow functions were introduced… Read More
In this article, we will see how we can change the playback speed of videos embedded in an HTML document using an HTML5 video tag.… Read More
We have given a number and the task is to convert the given number into an array using JavaScript. Examples: Input: 235283 Output: [2, 3,… Read More
The Fetch API provides a JavaScript interface that enables users to manipulate and access parts of the HTTP pipeline such as responses and requests.  Fetch… Read More
In this article, we are given a list of elements and the task is to sort them alphabetically and put each element in the list… Read More

Start Your Coding Journey Now!