Handling user input in Bash script

Collect and handle user input in a Bash script.

Checking the HTTP response code in Bash

Use Bash to get the HTTP response/status code of a URL.

Text formatting in Bash script

Make the text in Bash scripts easier to read with colors and other text styles.

How to fix old URLs in Yoast SEO breadcrumbs

Learn how to fix the issue of Yoast SEO breadcrumbs linking to an old URL.

A must-have CSS property (box sizing)

The importance of the box-sizing CSS property and why you should probably use it.

Number field: An alternative approach

Create numeric input within a form that activates the numeric keypad on mobile but retains the normal text input view on desktop.

Copy to clipboard with JavaScript

Learn how to copy HTML content from an element with JavaScript.

Automatic update of CSS / JS file version in PHP and WordPress

Learn how to automatically update a file version when it changes with PHP and WordPress.

How to customize (or disable) the automatic resizing of big images in WordPress

Learn how to modify the threshold for the WordPress auto-scaling feature or disable it completely.

Restricting access to WordPress REST API

Learn how to restrict access to the WordPress REST API to improve the security of your WordPress site.

JavaScript loops

3 methods to iterate over array items / list of elements with JavaScript.

 — Updated

Preventing direct access to PHP files in a WordPress site

Implement this best practice of preventing direct access to PHP files to improve the security of your WordPress site.

Creating form fields with animated labels

Today we will create animated labels for form fields using HTML, CSS, and JavaScript.

Detecting filled form fields

Learn how to detect a form field that has been filled out.

How to check if a JavaScript array is not empty

Learn how to check if a JavaScript array has elements.

Getting an existing object of International Telephone Input

How to access an existing object of International Telephone Input (JavaScript plugin).

Useful HTML shortcuts in Visual Studio Code

Save time and automatically generate code by using these useful HTML shortcuts in Visual Studio Code.

 — Updated

Advanced form reset using JavaScript

A JavaScript method for quickly resetting the entire form or only part of it.

Caching fetch requests with JavaScript

How to cache fetch requests using JavaScript to improve site performance.

Reading the contents of an external file with JavaScript

Learn how to read the contents of an external file without using the server side (JavaScript only).