Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

How to join two arrays in JavaScript

28 Jul 2021
  • javascript

There are a few ways how you can join two arrays in JavaScript, a spread syntax, a concat() method, and a push() method.

Continue reading →

CSS Select previous element

08 Jul 2021
  • css

There could be cases when you want to apply a certain styling for the previous element in CSS. But can that be achieved? I’ll try to break it down in this article.

Continue reading →

Detect mouse right-click with JavaScript

30 Jun 2021
  • javascript

JavaScript API allows developers to detect mouse right-click. It can be useful if you want to handle specific cases when a user clicks certain buttons on the mouse.

Continue reading →

Full page navigation with smooth scroll to anchor (CSS and JavaScript solution)

24 Jun 2021
  • css
  • javascript

A smooth scroll to anchor is a common concept for single-page applications. It features a sliding animation effect that helps the user to understand what’s currently is happening on the device screen. There are two ways you can implement it:

Continue reading →

The difference between min-width vs max-width in CSS media queries

17 Jun 2021
  • css

When learning about CSS media queries, sometimes it can be confusing what’s the difference between min-width and max-width properties.

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