Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

Difference between position fixed vs sticky in CSS

10 Sep 2021
  • css

It sometimes can be confusing to both beginners and even seasoned developers to understand the difference between position fixed vs sticky. Due to the fact that they behave similarly, yet each of those properties has its own purpose.

Continue reading →

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 →
⟨ 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