Listen for a class change in JavaScript
JavaScript possesses the ability to listen for a class change right out of the box. Without any additional libraries or hacky workarounds. It can be done with the MutationObserver
interface.
Blog about web development
JavaScript possesses the ability to listen for a class change right out of the box. Without any additional libraries or hacky workarounds. It can be done with the MutationObserver
interface.
To get the current date in JavaScript you’ll only need the Vanilla JavaScript Date API. All the information about the current date can be accessed in one line of code in various formats.
As a Front End developer you’ll be using a lot of tools on a daily basis to make your life easier and workflow more productive. Below I’d like to share popular tools for Front End developers.
You can make a custom text selection color with pure CSS to match the theme color of your web app. To do so you’ll need to use a ::selection
pseudo-element.
Adding a font to a page can be done with both HTML and CSS. Depending on your requirements you can use any of the approaches.