Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

How to Create a Responsive YouTube Embed with Custom CSS for Adjustable Size

25 Oct 2023
  • css

YouTube embeds are a great addition to a web page. In this guide, I’ll show you how to make them responsive with a sprinkle of CSS.

Continue reading →

A complete guide on how to implement a dark mode

17 Aug 2023
  • css
  • javascript

A dark mode is almost a must-have feature for modern-day web apps. In this guide, I’ll show you how to implement a dark mode for your project.

Continue reading →

How to get Gutenberg blocks data in WordPress with JavaScript

01 Aug 2023
  • javascript
  • wordpress

In this article I’m going to explain how to get Gutenberg blocks data in WordPress with JavaScript.

Continue reading →

How to add event listener to body in React

26 Jul 2023
  • react

In certain cases, you’ll need to add a custom event listener to a body element in React. In this article, I’m going to explain a few ways how you can handle such cases.

Continue reading →

Toggle switch button with Pure CSS

28 Jun 2023
  • css

A toggle switch button is a recognizable part of the User Interface. These days it is common beyond smartphones and widely used on the web.

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