RSSAmplifier

Blog

Nikita Hlopov

Blog about web development

nikitahl.comRSS feed ↗10 posts

Latest posts

How to open the WordPress Media Library with an Upload files tab by default

A short guide explaining how to open the Media Library in WordPress, with the Upload files tab by default, using JavaScript.

Simple carousel-like slider with pure CSS

Learn how to create a sleek, autoplaying CSS-only carousel that smoothly scrolls through items and pauses on hover, without the need for any JavaScript or controls.

How to lazy load CodePen and CanIUse embeds

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.

Unterminated string literal error with the script and style tags

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

How to place cursor at the end of the text field with 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.

Syncing custom TinyMCE and Quicktags editors for instant update

A guide on how to syncing a TinyMCE and a Quicktags editors in WordPress for an instant update

MySQL query for an id column with an AUTO_INCREMENT field

A fix for a MySQL query with an AUTO_INCREMENT field

A simple way to add an outline to text with pure CSS

Adding a cool outline effect to your text is quite simple with just a few lines of CSS.

How to change 2FA authentication app (TOTP) in GitHub

I was a bit stuck and confused initially when I had to change the authenticator app on my phone and enable it on GitHub, luckily it was pretty easy.

Creating stylish number input with custom buttons

By default, the appearance of the number input is not very user-friendly, particularly the arrows. In this article, I will demonstrate how you can customize it to make it more appealing and easier to use.