Skip to content
Maker's Aid Logo

Maker's Aid

  • Apps & How-to’s
  • Gear & Guides
  • Digital & Growth
  • UX & Design
  • Web & Code

Category: Web & Code

From HTML/CSS to PHP to cPanel. This is your first stop for web development help.

How to Add Categories (And Tags) to Pages in WordPress

The three ways to add categories to pages in WordPress: with a plugin, by editing your theme’s functions.php, and by creating a custom plugin for the job.

Published April 2, 2022By Jim Stonos
Categorized as WordPress

Remove Special Characters From a String in JavaScript

Remove special characters from any string with the String.replace() method and well-written RegEx. We show you how!

Published March 29, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

What Is a Data Layer?

A web developer’s introduction to the data layer, a must-have for advertising and marketing on websites and web applications.

Published March 28, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Removing the Underline From Links in HTML

How to use CSS to remove the underlines from all links, groups of links, or specific links in your HTML document.

Published March 28, 2022By Jim Stonos
Categorized as CSS, Web & Code

Event Listeners for Multiple Elements in JavaScript

Here’s how to add an event listener for multiple DOM elements in JavaScript.

Published March 27, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Get the Href of a Clicked Link in JavaScript

Learn how to get the href attribute of any, or specific, clicked links in JavaScript.

Published March 27, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Get the Class of a Clicked Element in JavaScript

Learn how to get the class of any, or specific, DOM element that the user clicks by creating an event listener.

Published March 27, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Get the ID of a Clicked Element in JavaScript

Learn how to get the id of any, or specific, DOM element that the user clicks by creating an event listener.

Published March 27, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Array to String Without Commas in JavaScript

How to convert an array into a string without commas with the Array.join() method in JavaScript.

Published March 27, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Run JavaScript on a Mac (4 Ways)

Want to run JavaScript code on your Mac? Here’s how to do it in the Terminal and from your browser.

Published March 26, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Removing All Commas From a String in JavaScript

So you need to remove commas from a string in JavaScript? These are the two best ways to achieve this.

Published March 23, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Create an Array of Images in JavaScript (Tutorial)

The best ways to create and use arrays of images in JavaScript.

Published March 22, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Check If a Button Is Clicked in JavaScript

This is the best way to listen to click events for a button element.

Published March 20, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Is Inline JavaScript Bad?

Wondering whether to inline your JavaScript code or load it externally from a file? We help you decide.

Published March 20, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Why Is My JavaScript Not Working? (With Examples)

We round up the most common causes for your JavaScript code not working.

Published March 20, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Log the User Out on Closing the Browser in JavaScript

Want to log out your user after they’ve closed the tab or window? Here’s how you could do this in JavaScript.

Published March 20, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Set an Attribute Without a Value in JavaScript

The best ways to set an empty attribute to one or multiple DOM elements in your HTML markup, with plain JavaScript.

Published March 19, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Remove Quotes From String in JavaScript

We look at the simplest, most straightforward way to remove quotes from a string in JavaScript.

Published March 15, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Pass PHP Array to JavaScript (Tutorial)

It turns out you can get PHP and JavaScript to agree on something, and that something is the JSON data format.

Published March 14, 2022By Jim Stonos
Categorized as JavaScript, PHP, Web & Code

Nested Arrays in JavaScript, Explained

You asked for it, we delivered. We explain nested arrays in a way that anyone, from beginner to expert, can understand.

Published March 13, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Initialize an Empty Array in PHP

These are the two best ways to initialize an empty array in PHP.

Published March 13, 2022By Jim Stonos
Categorized as PHP, Web & Code

How to Declare an Empty Array in JavaScript

Here’s how to declare an empty array object in JavaScript—and what you need to do so that it meets your needs.

Published March 13, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Function Not Defined in JavaScript (How to Fix It)

ReferenceErrors are annoying. These common mistakes and clues to look for will help you get to the meat of it.

Published March 13, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Alphabet Array in JavaScript (Tutorial)

The simplest, most straightforward ways to create an array of letters in the English alphabet in JavaScript.

Published March 13, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Find the Largest Number in an Array in JavaScript

The quick and easy way to find the largest number in an array in JavaScript.

Published March 13, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Quotes Within Quotes Within Quotes in JavaScript

There’s a way to nest string in two or more quotes in JavaScript, and you will love the simplicity of it.

Published March 12, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Check If a Variable Is a String in PHP

The best way to check if a variable is a string or not in PHP.

Published March 11, 2022By Jim Stonos
Categorized as PHP, Web & Code

How to Add a New Line in PHP (Line Breaks, Explained)

We explore some of the best ways to add a line break to a string in your PHP code.

Published March 11, 2022By Jim Stonos
Categorized as PHP, Web & Code

Calling a JavaScript Function From PHP?

Trying to call a JavaScript function from PHP? Nine times out of ten, you will want to do this instead.

Published March 11, 2022By Jim Stonos
Categorized as PHP, Web & Code

Adding a New Line in JavaScript (Tutorial)

Still learning? These are the best ways to add a new line to your JavaScript code’s output.

Published March 11, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Repeat a String in JavaScript (Tutorial)

In JavaScript, it’s easier to repeat a string an n number of times than you probably think. Here’s how to do it.

Published March 11, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

Check If an Element Has a Class in JavaScript

So you’re looking for a good way to check if a DOM element has a CSS class in JavaScript?

Published March 10, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Edit Categories in WordPress

Everything you need to know about editing categories in WordPress, from simple to advanced use cases.

Published March 10, 2022By Jim Stonos
Categorized as WordPress

Remove the Post Date in WordPress (Tutorial)

So you want to remove the dates on your posts because you’re publishing evergreen content? I show you how.

Published March 9, 2022By Jim Stonos
Categorized as WordPress

How to Remove “Leave a Reply” From WordPress

Don’t want the “Leave a Reply” section under the posts on your blog? Here’s how to get rid of it.

Published March 9, 2022By Jim Stonos
Categorized as WordPress

Check If String Is Empty in JavaScript

Find out the two best ways to check whether a string is empty or not in JavaScript.

Published March 9, 2022By Jim Stonos
Categorized as JavaScript, Web & Code

How to Check If a File Exists in PHP

The best way to check if a file or directory exists in your PHP application.

Published March 9, 2022By Jim Stonos
Categorized as PHP, Web & Code

Do This Before Registering a Domain Name

Adding a domain name to your cart and hitting that “Buy” button is easy. Switching from an ill-picked domain name after you’ve built a site on it isn’t.

Published September 26, 2021By Jim Stonos
Categorized as Domains & Hosting

Should Web Developers Use WordPress?

The fact that you can build a website from scratch doesn’t mean you should. Here are a few reasons why—and why not to—consider WordPress.

Published September 22, 2021By Jim Stonos
Categorized as WordPress

Will Updating WordPress Break Your Site?

WordPress updates keep your website stable, secure, and performant. But can they break it? And, if that happens, what can you do about it?

Published April 19, 2021By Jim Stonos
Categorized as WordPress

The Biggest Disadvantages of WordPress

I’ve been building websites with WordPress since it came out in 2003. Here’s what I consider to be its biggest disadvantages.

Published April 3, 2021By Jim Stonos
Categorized as WordPress

Is WordPress Easy to Use?

Published March 13, 2021By Jim Stonos
Categorized as WordPress

Where Is the WordPress Admin Panel?

Published February 26, 2021By Jim Stonos
Categorized as WordPress

Does WordPress Require Coding?

Published February 25, 2021By Jim Stonos
Categorized as WordPress

Will WordPress Replace Web Developers?

No, WordPress won’t replace web developers. If nothing else, it will create opportunities and work for WordPress developers.

Published February 24, 2021By Jim Stonos
Categorized as WordPress

Does WordPress Require Hosting?

Yes, WordPress requires hosting to power your website. Without it, it’s just a bunch of files in a folder on your computer.

Published February 21, 2021By Jim Stonos
Categorized as Apps & How-to's, WordPress

How to Change the Yoast SEO Breadcrumb of a Post

Here’s how I managed to change the Yoast SEO breadcrumb of a WordPress post that had already been published.

Published February 20, 2021By Jim Stonos
Categorized as Apps & How-to's, WordPress

Posts pagination

Newer posts 1 2 3

About

We publish growth advice, technology how-to’s, and reviews of the best products for entrepreneurs, creators, and creatives who want to write their own story.

Learn more →

Disclaimer

Maker's Aid is a participant in the Amazon Associates, Impact.com, and ShareASale affiliate advertising programs.

These programs provide means for websites to earn commissions by linking to products. As a member, we earn commissions on qualified purchases made through our links.

Explore

  • Apps & How-to's
  • Audio & Visual
    • Photography
  • Digital & Growth
    • Ads
    • Analytics
    • Blogging
    • Copywriting
    • Marketing
  • Gear & Guides
  • News
  • UX & Design
    • Canva
    • Photoshop
  • Web & Code
    • CSS
    • Domains & Hosting
    • HTML
    • JavaScript
    • PHP
    • WordPress

Tools

  • CSS Performance Testing
Maker's Aid Logo
  • Home
  • About Us
  • Contact Us
  • Sitemap
  • Terms of Use
  • Cookie Policy
  • Privacy Statement
  • Disclaimer
Copyright © Maker's Aid, 2020 — 2025
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional cookies Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preference cookies
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics cookies
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Advertising & marketing cookies
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}
Manage your privacy
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. We use this data to help us to understand what content resonates with our readers and to improve and personalise their experience.
Functional cookies Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preference cookies
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics cookies
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Advertising & marketing cookies
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}