Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

Difference between var vs let vs const in JavaScript

06 Oct 2021
  • javascript

In JavaScript you can declare a variable using one of three ways, var, let, or const. But how are they different and which one to use? Understanding the difference will help you debug and write code more effectively.

Continue reading →

Advanced console log and other console tools in JavaScript

29 Sep 2021
  • javascript

Logging to the console is an essential part of debugging in JavaScript. In this article, I’d like to show you some tricks and tips to make your JavaScript console log more productive and efficient.

Continue reading →

Horizontal rule CSS - Custom style hr tag

22 Sep 2021
  • css

By default, the hr tag is just a thin straight line. It doesn’t possess any special properties, but you can make it look more appealing with some custom CSS code.

Continue reading →

Find string in string with Vanilla JavaScript

15 Sep 2021
  • javascript

Finding a substring in a string can be done in a variety of ways, depending on your needs.

Continue reading →

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