Useful JavaScript shortcuts in Visual Studio Code

Use these shortcuts to save time and automatically generate JavaScript code in Visual Studio Code.

How to execute JavaScript code only after the HTML structure (or the whole page) is loaded

Learn how to execute a JavaScript code only after the HTML content is ready or when the entire page has loaded.

User snippets in Visual Studio Code: A productivity game changer

Become a more efficient programmer by using the user snippets option in Visual Studio Code that lets you quickly insert your most frequently used code snippets.

 — Updated

Building a design system: Setting breakpoints for responsive design

In this post, we will focus on defining the CSS breakpoints that will be used to create a responsive design.

You should use a prefix in your WordPress code

Why WordPress developers should follow this best practice of using a prefix in their code.

Improve site performance with WordPress Transients

Use WordPress built-in Transients tool to quickly improve site performance.

How to get URL parameters with JavaScript

Learn how to check URL parameters using JavaScript.

How to rename WordPress admin menu items

Learn how to customize the labels of menu items in the WordPress admin dashboard.

The ultimate gitignore for WordPress projects

Set the gitignore file to dynamically include only the necessary files of your WordPress project.

WordPress cron jobs

My complete guide on how to automate repetitive tasks with WordPress cron jobs.

JavaScript: Getting the value of a select element (dropdown) on change

Learn how to get the value of the selected option in a dropdown (select element) with JavaScript.

How to update Hugo version

Learn how to easily update the Hugo version of your site.

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.