
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 6695 Articles for Javascript

2K+ Views
Audio files generally include the title of the track, name of the performer, name of the album, genre, and year of publication as embedded metadata. These data may be beneficial in applications for media players, music libraries, and cataloging tools. This metadata can be accessed in JavaScript through various means, especially with the help of libraries such as jsmediatags and music-metadata-browser, goal of this article is to demonstrate several techniques used to retrieve metadata from audio files in JavaScript programming language. Approaches to Access Audio Metadata Using the HTML5 audio Element ... Read More

1K+ Views
Some popular formats for data exchange are XML (eXtensible Markup Language) and JSON (JavaScript Object Notation). Tags are used to structure XML, while JSON is a more condensed key-value format. In JavaScript apps, this is common. Converting XML data to JSON could occasionally be required in order to facilitate or alter data in JavaScript. Several techniques for converting XML to JSON using JavaScript are examined in this article. from developing unique JavaScript frameworks and solutions to employing DOM analysis. Understanding XML and JSON XML Example Pankaj 20 ... Read More

2K+ Views
When working with URLs you will often encounter query parameters that add additional information to the base URL, it may be helpful for developers whenever they need to convert these URL parameters to JSON format, especially for reading and converting data. Here we will explore different methods to convert URL parameters to a JSON format in JavaScript including built in methods and custom solutions using splits, reduces, regular expressions. Understanding URL Parameters URL parameters follow ? character in a URL with each key-value pair separated by &, here’s an example URL. https://example.com/page?name=Pankaj&age=20&city=Surat In this URL name=Pankaj, age=20, ... Read More

2K+ Views
We'll build a straightforward interactive quiz tool that allows users to answer questions, select their choices, and view their scores at the end. We'll accomplish this using HTML, CSS, and JavaScript. Guide to Building a Simple Quiz App Step 1 - Set Up Your HTML: First, create an index.html file to serve as the foundation for our quiz. This file will contain a container for displaying the quiz questions, answer options, and a submit button. Here’s a simple structure to get started. Step 2 - Style Your Quiz ... Read More

289 Views
JavaScript is a versatile, powerful language that can also be used for server-side scripting, opening up numerous career opportunities in web development. Understanding JavaScript is essential whether you're just starting out or already on your coding journey. The recommended books below offer various approaches to mastering JavaScript, helping you become a more creative and effective developer. Top 8 JavaScript Books For Beginners to Advanced Here are my top 8 book recommendations for mastering JavaScript. Whether you're a beginner or an experienced developer, there's something valuable for everyone on this list. JavaScript: The Good Parts ... Read More

784 Views
The form fields can be disabled with the help of CSS, and JavaScript. In this article, we will learn to disable the form input fields with the help of CSS. Sometimes we need to disable form fields for various reasons, such as preventing user input before certain conditions, or for other purposes. The disabled form field means the user can not interact with the input field. Approaches to Disable Form Fields There are two approaches to disabling the form input field, we will explain each approach in detail with code examples. Disable Form Fields ... Read More

1K+ Views
On web pages, range sliders are used to let users specify a numeric number that must fall between a specified value and not more than that value. In other words, it enables selection of a value from a range that is shown as a slider. Instead of a text entry box like the "number" input type, a Range slider is often represented by a slider or dial control. When an exact numerical value is not required, it is utilized. However, it may be more difficult than you think to add a slider widget to a web page. Yes, you can ... Read More

712 Views
In this article, we are going to learn about the methods of sorting a numerical array in JavaScript. Sorting of an array means to arrange the elements of an array in a particular order i.e. they can be in ascending or the increasing order and they can be arranged in descending or the decreasing order. There are two ways in which we can sort a numeric array in a particular order in JavaScript − By traversing array with the help of loops By using the sort() method available in JavaScript Let us discuss both of the above methods ... Read More

564 Views
Generally, we sort arrays, objects and some other data types using some method of JavaScript. But, in this article, we are going to sort the child elements of an element whose values are in unsorted order using the data attribute of those child elements. In this article, we are going to learn about the two different ways or methods of sorting the child elements according to the value of their data attribute given to them. The methods we use to sort are listed below − By selecting the value of data attribute using the getAttribute() method. By selecting the ... Read More

413 Views
A array with multiple columns is an array that contains multiple elements at single index or position OR we can say that it is an array of arrays that contains multiple arrays at each index of it and we have to sort that array according to the elements of those contained arrays. In this article, we are going to learn about the method of sorting an array of arrays with the help of sort() method. We will use the comparator function to compare the elements of inner arrays with each other and sort them accordingly. Let us see how we ... Read More