Skip to content

Tag Archives: JavaScript-Misc

Pre-requisite: How to import a library in JavaScript. Read from here: https://www.geeksforgeeks.org/javascript-importing-and-exporting-modules/ . There is a built-in Module or in-built library in NodeJs which handles… Read More
Problem Statement: How to open a link without clicking on it using JavaScript? Solution: The link will be open when the mouse moves over the… Read More
The MouseEvent button property is used to define the left or right click events. When mouse button is clicked then it return an integer value… Read More
Cookies are small data that are stored on a client side and sent to the client along with server requests. Cookies have various functionality, they… Read More
Prerequisite: JavaScript events An event is an important part of JavaScript.A web page respond according to an event occurred. Some events are user generated and some… Read More
Prerequisites: GetMinutes() GetSeconds() SetInterval() Method In this post, a timer has been shown that shows the countdown and its colour/message gets changed after every specific… Read More
Style.cursor specifies the mouse cursor to be displayed when pointing over an element. Some of the mouse pointers are as follows: wait help move pointer… Read More
Responsive time of an event is the time taken to load the result of that event and time taken to start that event. In this… Read More
Write a JavaScript code that turns ON and OFF the Light Bulb. Syntax: img src = URl or img src = image_name.jpg Here the src… Read More
Prerequisite: JSON XML | Basics JSON (JavaScript Object Notation) is a lightweight data-interchange format and it completely language independent. It is based on the JavaScript… Read More
The top left corner of the screen is (0, 0) i,e, X and Y coordinate is (0, 0). This means that vertical zero is topmost… Read More
Style display property is used to hide and show the content of HTML DOM by accessing the DOM element using JavaScript/jQuery. To hide an element,… Read More
ES6 or as it is officially called: ECMAScript2015 is a new JavaScript implementation and is arguably the hottest topic in the JS developers conventions and… Read More
JavaScript focus method is used to give focus to a html element. It sets the element as the active element in the current document. It… Read More
In this article, we will know about Javascript & PHP, along with understanding their significant differences. A long time before, most people used to think… Read More

Start Your Coding Journey Now!