Found 10710 Articles for Web Development

How To Run JavaScript Online?

Rushi Javiya
Updated on 28-Dec-2022 14:41:27

1K+ Views

In this tutorial, let us discuss the best way to run Javascript online. As we know, Javascript is a popular language. There are many options to run Javascript online. Optimizing runtime and memory usage is the challenge all these tools face. A simple way to run Javascript is the browser console. The browser console comes up when you press the F12 key. You can add the Javascript code within the script tag or load an external JavaScript file. Let us look into the available options to run Javascript online. Codepen To run Javascript using codepen, only enter the Javascript code ... Read More

Game Development Using JavaScript

Rushi Javiya
Updated on 28-Dec-2022 14:39:42

3K+ Views

In this tutorial, we will learn about whether we can create games using JavaScript or not. We can, of course. JavaScript games are entertaining, simple, and a fantastic method for youngsters to learn how to code. Nearly all internet websites employ the popular programming language known as JavaScript. A web application can be enhanced using JavaScript by adding animations and interactivity that improve gaming and web browsing. JavaScript's capacity to create games that can be played readily online is a common topic that draws young people to learn how to program. It makes sense that more game developers have been ... Read More

Best Online Sources To Learn JavaScript

Rushi Javiya
Updated on 28-Dec-2022 14:32:15

2K+ Views

In this tutorial, we shall discover the best online source to learn JavaScript. JavaScript is a client-side language for website development. JavaScript is handy for responsive website development. Learning JavaScript is essential because of the increased resource requirements. There are many free resources available to learn Javascript online. Let us look into this in brief. Online Sources to Learn JavaScript Tutorials Point Tutorials Point offers an online tutorials library for the best content on the latest technologies including C, C++, Java, Python, Javascript, PHP, Machine Learning, Data Science, AppML, etc. Tutorials Point also offers numerous Q&A articles on different technologies ... Read More

Role of Canvas Javascript API in Major Browsers

Rushi Javiya
Updated on 28-Dec-2022 14:25:25

208 Views

The canvas JavaScript API is a powerful tool for creating and manipulating graphics on the web. It allows you to draw 2D graphics using JavaScript code and is supported by most modern web browsers. Game manipulation, animation, video processing, and many more are there from Canvas API. The canvas API is implemented in the form of a canvas element, which is an HTML element that can be placed in an HTML document. The canvas element is used as a drawing surface and can be styled and positioned using CSS. To draw graphics on the canvas, you can use the canvas ... Read More

How to show images with a click in JavaScript using HTML?

Kalyan Mishra
Updated on 14-Sep-2023 01:19:28

32K+ Views

Showing images with a click in JavaScript is a common technique used in web development to create image galleries, slideshows, and other types of image−based applications. It allows users to navigate between images by clicking on buttons or other elements in the user interface, rather than using a static set of images that are always visible. To show images with a click in JavaScript, you can use a combination of HTML, CSS, and JavaScript to define the structure and appearance of the image elements, and to specify the behavior of the buttons or other elements that will be used to ... Read More

How to disable right-clicking on a website using JavaScript?

Kalyan Mishra
Updated on 28-Dec-2022 11:45:32

20K+ Views

To disable right-clicking on a website using JavaScript, you can use the contextmenu event to cancel the default behavior of the right−click. The contextmenu event is a DOM event that is triggered when a user right-clicks on an element in a user interface. It is a type of mouse event, similar to the click event, but it is specific to right-clicks. In JavaScript, you can use the addEventListener method to attach a contextmenu event listener to an element. The event listener function will be called whenever the contextmenu event is triggered on the element. Here's an example of how you ... Read More

Role of JavaScript in Software Companies?

Kalyan Mishra
Updated on 28-Dec-2022 11:43:54

260 Views

In this article, you will learn about the importance and role of the JavaScript language in the software industry. Where do we use the language and how it helps in production in the software companies everything we will get to know. JavaScript is one of the web development languages used to add functionality to the website. It makes the website interactive, robust, faster, and prettier. It's a scripting, interpreted language that can be directly compiled in a web browser like C, or CPP; it doesn't need a compiler to compile. Basically, to develop a website we need three basic languages: ... Read More

Visually improving a website using JavaScript?

Kalyan Mishra
Updated on 28-Dec-2022 11:42:05

394 Views

In this article, you will get to know about various techniques using which you can make your website attractive and fast. Which will increase user engagement and make your website productive. Let’s first get to know about JavaScript. What is JavaScript? JavaScript is one of the web development languages used to add functionality to the website. It makes the website interactive, robust, faster, and prettier. It's a scripting, interpreted language that can be directly compiled in a web browser like C, or CPP; it doesn't need a compiler to compile. This is the reason behind it turning out to be ... Read More

Display selected checkboxes on another page using JavaScript?

Kalyan Mishra
Updated on 28-Dec-2022 11:39:13

3K+ Views

In this article, you will learn about how to get all the checked boxes on the other page using JavaScript. The checkbox is a type of selection that is a type of binary selection either true or false. It is an option of GUI form present on the page and using this we can take more input from the user. If a box is checked, it indicates true, which means that the user has selected the value and in case the box is unmarked then it indicates that the user has not selected the value. The difference between the checkbox ... Read More

How to find last occurence of element in the array in TypeScript?

Shubham Vora
Updated on 03-Jan-2023 11:33:46

3K+ Views

We will learn to find the last index of the element in the array in TypeScript. In development, an array of the data can contain duplicate data, and we may need to keep the last occurrence of the element. For example, we have fetched all users’ login history from the database. Now, we want to find when particular users were logged in for the last time. In such scenarios, we can use the below methods to find the last occurrence of the element in the array. Search from the last in the array To find the last occurrence of the ... Read More

Advertisements