Learn the language of the web.

Recent Post

Conditionally load a JavaScript file

By creating a new JavaScript file from scratch or reappend an existing one.

Download Progress Bar with Axios

Learn how to track progress and upload a CSS progress bar.

Read a File into JavaScript using FileReader

After reading a file, you can display it, edit it, post it to a server and download.

Get checked checkbox values only from HTML form with JavaScript

You'll want to push checkbox values into an array only if they are checked.

Map Live User Location using Leaflet.js

Get user coordinates using the HTML5 Geolocation API and map using Leaflet.js.

Random Image with JavaScript

You can use JavaScript to display a random image, both on page load and when a user clicks to get ano

QR Code Scanner with Html5-QRCode.js

You can implement a QR code scanner using the Html5-QRCode library.

How to Schedule Tasks in Node.js

You can schedule tasks in Node.js using the node-schedule library.

How to Remove Duplicate Objects from an Array

When deciding which method to choose, object type should be taken into account.

Check Total, Used and Remaining Space Available in localStorage

By pushing data into loca, it is possible to calculate total and available space.