Compress an Image File in the Browser with JavaScript
Using the HTML5 Canvas API, you can do image compression on the frontend.
Using the HTML5 Canvas API, you can do image compression on the frontend.
After reading a file, you can display it, edit it, post it to a server and download.
Get user coordinates using the HTML5 Geolocation API and map using Leaflet.js.
You can use JavaScript to display a random image, both on page load and when a user clicks to get ano
The native FileReader API can be used to read a PDF and create a URL to its contents.
The in-built Date() method can generate an accurate UNIX timestamp.
Date and time objects created using the Date() constructor can be output in various formats.
How to print a number as a string with comma-formatting or other locale-specific styles.
Printing a JavaScript object to the DOM is harder than you might think.
A JavaScript solution for generating a table of contents for HTML content.