Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

Listen for a class change in JavaScript

01 Sep 2021
  • 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.

Continue reading →

How to get the current date in JavaScript (Time, Day, Month, Year)

26 Aug 2021
  • javascript

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.

Continue reading →

Essential tools for Front End developers for daily use

20 Aug 2021
  • tools

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.

Continue reading →

Text selection color CSS

12 Aug 2021
  • css

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.

Continue reading →

How to include a font in CSS

04 Aug 2021
  • css

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.

Continue reading →
⟨ Previous Next ⟩

This work is licensed under a CC BY 4.0 License.
The code in this work is licensed under an MIT License.

Privacy policy