We often use the !important property in CSS to ignore rules or styles applied to an element and instead apply rules that has !important property. You can further override the !important rules using ...
If you have worked with SQL, then I am sure you must have come across the LIKE statement to search a specified pattern in a table. The LIKE in SQL uses a % (percent) sign to fetch a pattern of values. ...
In this article, I’ll show you how to convert your form data into a PDF using only JavaScript. Not just plain text data, the example also shows how easily you can convert an image on your web form ...
In JavaScript, you can use the .getElementsByTagName() method to get all the LI elements in UL. In-addition, you can use the .querySelectorAll() method also to get all the li. I have shared few ...
You can use the join() method in JavaScript to remove commas from an array. The comma delimiter in an array works as the separator. For example, let arr = ["alpha", "bravo", "charli"]. The join ...
Highcharts is a pure JavaScript library, which provides easy to use methods and properties to create interactive and animated charts for your websites and web applications. It supports many different ...
There are many ways you can change the class name of an element using JavaScript. The classList property in JavaScript is now commonly used. However, classList property and its methods are available ...
There are many ways to store JSON data for your application. You can store it in an array or in an external file. There are many ways to read JSON data from external files. I have previously shared ...
I remember using the filter() method once to remove empty slots in an Array in JavaScript. An empty array slot might look like this … const arr = [1, , 3, 4, , 6]; and to remove these slots you ...
The URL or the web address will always have a file name, with few parameters occasionally. Sometimes, we might need to know the file name in the URL. There’s a simple technique to extract the file ...