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
The new dialog element in HTML to create … On August 1, 2023January 14, 2024 by Amitav Mishra A modal dialog is content that appears on top of all the page content. It makes the user focus only
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
The CSS :is() and :where() pseudo-classe … On November 8, 2022November 9, 2022 by Amitav Mishra The :is() functional pseudo-class lets us write compound selectors in a more simple and short way.
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>