How to create custom events in JavaScrip … On September 26, 2023September 26, 2023 by Amitav Mishra JavaScript events are actions or occurrences that happen on a web page. For example, clicking a
How to add currency symbol and formattin … On June 18, 2023June 18, 2023 by Amitav Mishra Currency formatting on the client side can be a little tricky. Imagine a scenario where we are
JavaScript Object.is() method to check e … On November 30, 2022December 1, 2022 by Amitav Mishra The Object.is() method checks if two values are the same value and returns a boolean value
Send push notifications with the Notific … On October 18, 2022January 26, 2024 by Amitav Mishra The Notification API allows web pages to show notifications. This API can show notifications only
The URL API in JavaScript On October 4, 2022October 5, 2022 by Amitav Mishra The URL API parses data from an URL and makes them accessible through utility properties. The URL()
Play audio with HTMLAudioElement API in … On September 16, 2022October 5, 2022 by Amitav Mishra The HTMLAudioElement API has access to all the properties and methods of the HTML <audio>
The URLSearchParams API in JavaScript On August 19, 2022November 24, 2022 by Amitav Mishra The URLSearchParams API provides utility methods to parse data from the query string of an URL. The
The Pipe and Compose utility methods in … On July 30, 2022September 16, 2022 by Amitav Mishra The pipe and compose are utility methods that take any number of functions, and execute them one by