- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10710 Articles for Web Development
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
92 Views
SolverJS is a comprehensive JavaScript package that provides a range of functions to help us solve common math problems. We know that web applications often require complex logic to function properly, and these logical solutions can easily become long and difficult to manage. This is where Solver JS comes in - it includes a wide range of general and complex mathematical solutions and provides functions not available in standard JavaScript. In this tutorial, we will learn how to use Solver JS and its various functions. The package includes functions such as date conversions, keyword extraction, string case checking, URL ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
6K+ Views
EJS is a templating language that allows us to generate HTML markup using plain JavaScript. It provides a simple and intuitive way to generate dynamic content in our web applications, making it easier to manage and organize our code. EJS is easy to use and can be integrated into any JavaScript project with just a few steps. In this tutorial, we will learn the basics of how to use EJS in JavaScript, including how to set up our project, create an EJS template, and render the template to generate dynamic HTML output Steps to use EJS in a JavaScript ... Read More
![Aman Gupta](https://www.tutorialspoint.com/assets/profiles/608701/profile/60_2329935-1677492259.jpg)
9K+ Views
Overview To check for an image whether it is loaded or not in order to perform some actions can be done by using JavaScript. In many cases our browser fails to load the image due to large size of image, or poor network connectivity. So our image may sometimes show some errors. So to know whether our image is loaded or not we have certain methods such as onload(), onerror() and complete property. Syntax The syntax to solve the problem are − onload="function()" − This function is called when the image is loaded successfully. In this any callback function ... Read More
![Aman Gupta](https://www.tutorialspoint.com/assets/profiles/608701/profile/60_2329935-1677492259.jpg)
760 Views
Overview To perform a certain task first we need to access that particular element by its class or by id so before accessing the element we check whether that class is present in that particular element or not. The classList object contains the built-in method classList.contains() in JavScript. This method determines whether the given element belongs to the specified class. This whole process will take place, as first we have to access that element by getElementById(), getElementsByClassName(), or any other method. After accessing it, we have to check for the class with the classList.contains() method. Syntax The syntax used in ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
1K+ Views
Sharing code between the backend and front end of a full-stack application can be a challenging task. However, it's essential for building maintainable and scalable applications. By sharing code, we can avoid code duplication, reduce development time, and maintain consistency across our applications. In this tutorial, we'll explore different techniques for sharing code between Node.js and the browser and learn how to choose the best approach for our project. Techniques for Sharing Code Between Node.js and the Browser Users can follow the approaches below to share code between node.js and the browser − CommonJS Modules CommonJS modules are ... Read More
![Aman Gupta](https://www.tutorialspoint.com/assets/profiles/608701/profile/60_2329935-1677492259.jpg)
2K+ Views
Overview The existence of a key in an object can be checked using AngularJS. The key in an object is unique and cannot be duplicated. As object is a collection of different data types in Key-Value form, which contains String, Number type of data into a single reference variable. To check the existence of a key, we will use the "in" operator, which will check the object and return true or false. Syntax The syntax used in this problem is − if (key in objectName ) { action } else { action } ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
1K+ Views
In Material UI, the Paper component is very similar to the card component, and basically, it also creates a card of the required dimensions. The main difference between the Card and Paper components is the ‘Elevation’ prop. The Elevation props allow setting the box shadow for the Paper component to add 3D effects. Syntax Users can follow the syntax below to use the Paper component of Material UI. Example 1 (Basic use of Paper Component) In the example below, we added the Paper component inside the Box component of Material UI. Also, we have set the dimensions ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
578 Views
The links are important for any application to navigate different web pages. We can use the tag to create links in the HTML. However, the Material UI library provides the Link component to create a stylish link. Users can execute the below command to install the Material UI library in the React project. npm install @mui/material @emotion/react @emotion/styled Syntax Users should follow the syntax below to use the Link component of Material UI. Link In the above syntax, href takes a link to the targeted web page. Example 1 (Basic Link ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
700 Views
JavaScript and jQuery contain various plugins, and every plugin contains a couple of functions. JavaScript plugin works as a library, and we can use its code directly in our code. The jQuery touch event plugin is also a library used to detect touch events in mobile devices and execute some functions when a touch event occurs. Using the CDN, we can add the jQuery touch event plugin to the HTML. If users are working with the Node application, they should execute the below command in the project directory to add the jQuery touch events plugin to the application. ... Read More
![Rushi Javiya](https://www.tutorialspoint.com/assets/profiles/576280/profile/60_2555583-1672217268.jpg)
12K+ Views
The readonly is an HTML attribute that we can add to any HTML tag. Whenever we use the readonly attribute with any HTML element, it becomes non-editable. Users can’t write into the text field but can only read. In this tutorial, we will learn to add the readonly attribute to the HTML element using the various methods of jQuery. Use the attr() method of jQuery The attr() method of jQuery sets the attribute to the HTML element. It takes two parameters, and we can pass the attribute name as the first parameter and the attribute value as the second ... Read More