Skip to content

Tag Archives: JavaScript-Questions

In this article, we will learn how to check if the provided value is an object created by the Object constructor in JavaScript. Almost all… Read More
Given an array and the task is to count the number of data types used to create that array. Example: Input: [1, true, “hello”, [],… Read More
Project Introduction: In this article, we will learn how to make a simple text editor JavaScript application where we can manipulate the user input in… Read More
In this article, we will learn how to calculate the number of days left until next Christmas using JavaScript. Christmas marks the birth of Christ,… Read More
In this tutorial we are going to create a web app that fetches motivational and inspirational quotes using an API. Application Requirements: Bootstrap 4 CDN… Read More
Given an array arr and number n and the task is to write a function that returns an array whose items are larger than n.… Read More
Javascript has events to provide a dynamic interface to a webpage. These events are hooked to elements in the Document Object Model(DOM). There are three… Read More
This article shows the method to set up your desktop using automation with the help of Robotjs package and JavaScript.The below steps have to be… Read More
In this article, we will see how to print tomorrow’s date in string representation using JavaScript. To achieve this, we use the Date object and… Read More
Multiline string in JavaScript means a string having two or more lines. To split a multiline string to an array we need to use split()… Read More
Approach : Here we will create a gfg.js file which will include or JavaScript code and one gfg.html file. Now we will put onchange  on… Read More
Given a string, our task is to find string is palindrome or not. Example: Input : "race" Output : passed string is not a palindrome… Read More
Given a string, our task is finding the occurrence of a character in the string with the help of user-defined function.  Example: Input : "hello"… Read More
Given a value x, and the task is to check the value against predicate function. If the value satisfies the condition or predicate return fn(x)… Read More

Start Your Coding Journey Now!