Preventing double form submission using JavaScript
Learn how to easily prevent the same form from being submitted multiple times by mistake.
Learn how to easily prevent the same form from being submitted multiple times by mistake.
A simple method to create a responsive font size (also known as “fluid typography”) with just one line of code.
Learn how to enable the responsive feature of the embed blocks in WordPress block editor (Gutenberg).
Improve your productivity by creating command shortcuts in the terminal.
Learn how to convert a jQuery element to a vanilla JavaScript element.
Use the try-and-catch method (a JavaScript best practice) to handle errors efficiently.
Use a Sass function to type values in px and get the output in rem.
Learn how to change the text selection color using CSS.
Learn how to redirect URLs from www to non-www (or vice versa) using Cloudflare.
Learn how to remove the prefixes of posts, categories, and tags from Hugo site URLs.
Create a custom email address with your domain and automatically forward emails to your existing email account with Cloudflare.
The process of deploying a new Hugo site using Cloudflare Pages.
My complete guide on how to set up and create a static site using Hugo.