Site Logo

Nikita Hlopov's

Blog about web development

Blog About Archive Tags

Simple carousel-like slider with pure CSS

04 Oct 2024
  • css

In this article, I’ll show you how to build a simple yet elegant CSS-only carousel slider for smooth, automatic scrolling.

Continue reading →

How to lazy load CodePen and CanIUse embeds

27 Feb 2024
  • javascript
  • performance

CodePen and CanIUse embeds that are often used on blog posts require the load of a lot of resources, and usually, this is done on the initial page load.

Continue reading →

Unterminated string literal error with the script and style tags

19 Feb 2024
  • javascript

I recently encountered an Unterminated string literal error, which turned out to be totally unexpected for me, as the string looked completely fine to me.

Continue reading →

How to place cursor at the end of the text field with JavaScript

16 Feb 2024
  • javascript

It’s a good idea to place the cursor at the end of the text field when it gains focus, especially if the field already contains a value.

Continue reading →

Syncing custom TinyMCE and Quicktags editors for instant update

19 Jan 2024
  • javascript
  • wordpress

When implementing an instant update preview area with the WordPress Classic Editor, an appearance issue arises when working in different modes. This problem, its causes, and the solution are explained below.

Continue reading →
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