Site Logo

Nikita Hlopov

Frontend Dev Blog

Blog About Archive Tags

What is the difference between class and id in HTML, CSS and JavaScript

05 May 2021
  • html
  • javascript
  • css

What is the difference between class and id attributes? That kind of question is quite common in technical interviews for Front-end developers, especially for beginners.

Read More

Styling range input with CSS and JavaScript for better UX

23 Apr 2021
  • css
  • javascript
  • html

To style the range input with CSS you’ll need to apply styles to two pseudo-elements: ::-webkit-slider-thumb and ::-webkit-slider-runnable-track. Find out how you can apply custom styling and make the range input more functional and appealing.

Read More

Add and remove multiple classes in JavaScript for DOM element

12 Apr 2021
  • javascript

Vanilla JavaScript allows you to add or remove multiple classes for the DOM element in 3 different ways. Depending on your needs you may choose one of the following:

Read More

Free code learning resources list for beginner Front-end web developers

23 Mar 2021
  • resources

These days the knowledge of coding and web development has become more accessible and free. I’d like to share with you free code learning resources list for Front-end developers.

Read More

How to lazy load images, videos and iframes with JavaScript

09 Mar 2021
  • performance
  • javascript

Lazy load is a great way how to improve a website’s performance. There are few ways how you can achieve that.

Read More
⟨ Previous Next ⟩

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