Everything you need to know about naming your CSS classes and ids so your CSS code is easy to read, evolove, and maintain.
Category: Web & Code
From HTML/CSS to PHP to cPanel. This is your first stop for web development help.
What Is Web Hosting?
We’ve written the only beginner’s introduction to web hosting—and picking a web hosting provider—you will ever need.
What Is a Domain Name?
Learn everything you need to know about domain names, from what they are to how and where to register them.
How to Use CSS With PHP
Learn about the different ways to add Cascading Style Sheets (CSS) to your website using PHP—with code samples.
How to Center Text in HTML (For Beginners)
Learn about the right way and the wrong way to center text in an HTML document, with and without CSS.
Is There an Alternative to CSS in Web Development?
Wondering whether there’s an alternative to the Cascading Style Sheets (CSS) standard? Here’s everything you need to know.
Why Is My CSS Property Crossed Out?
Wondering why the CSS property you just wrote is crossed out in the CSS pane of your browser’s dev tools? This guide will help.
Are Semicolons Needed in CSS?
If you’re wondering whether and when semicolons are needed in CSS, we’ve written this guide to help.
The Difference Between CSS and SCSS
Learn about the difference between Cascading Style Sheets and “Sassy” Style Sheets, and extension of the CSS language.
HTML/CSS vs. Python
Learn about the similarities and differences between HTML, CSS, and Python.
How to Indent HTML Lists
Learn how to add indentation to your HTML lists with the margin and padding CSS properties.
Can You Get a Job With HTML and CSS?
So you’re learning HTML and CSS, and you’re wondering whether you can get a job with them? Here’s what you need to know.
Font-Weight: Bold in CSS Not Working
However hard you try, you just can’t get to make that text bold? Good thing you stopped by here; we have tips for you.
How Much CSS Is Too Much?
Let’s talk about Cascading Style Sheets (CSS) performance, and the dos and don’ts of writing CSS that doesn’t slow your site down.
Text-Decoration: None in CSS Not Working
However hard you try, you just can’t get to remove the underline from your links? Good thing you stopped by here; we have tips for you.
The .class Selector in CSS, Explained
Learn everything you need to know about the .class selector in Cascading Style Sheets (CSS).
The #id Selector in CSS, Explained
Learn everything you need to know about the #id selector in Cascading Style Sheets (CSS).
How to Prevent Scrolling on an iFrame
Learn how to prevent the user from scrolling the content of an iframe by adding these two attributes to your iframe tag.
Is CSS Hard to Learn?
Why Cascading Style Sheets (CSS) is easier to learn than most people think. And why it’s quite hard to master.
How to Prevent CSS Caching (3 Ways)
Learn about the best ways to prevent your browser from caching your website’s CSS files locally.
How to Prevent CSS Override
Having trouble with other CSS rules overriding yours? Here’s why this is happening—and what you can do about it.
How to Check If a CSS Class Exists
Learn how to check for the existence of a CSS class in your HTML document or for a particular DOM element.
Why Is CSS So Hard?
Many web developers find Cascading Style Sheets (CSS) hard. So let’s talk about what you need to know to make it easy.
Is CSS a Programming Language?
When you write CSS, do you write code or do you program an application? Here’s why the answer isn’t a clear-cut yes or no.
What Is the Em Unit in CSS?
Wondering what the em unit in CSS stands for, and how you’re supposed to use it? This guide will help.
The Difference Between Bootstrap and CSS
Learn about the difference between CSS, the style sheet language, and Bootstrap, by far the most popular CSS framework.
Should I Learn HTML Before CSS?
Just getting into web development and not sure whether to start with HTML or CSS first? We have tips for you.
Should I Master HTML and CSS Before JavaScript?
You’re getting into web development and you’re wondering what to focus on: HTML/CSS or JavaScript? This guide will help.
What to Do If Your CSS Isn’t Updating
So you’re editing your website’s CSS, but the CSS style sheet just won’t update? This five-step checklist will help.
Can You Undo a 301 Redirect?
Wondering if you can reverse a 301 redirect or not? Here’s everything you need to know on the topic.
httpd.conf, .htaccess, and php.ini (The difference)
Yes, these are all configuration files. Two of them even refer to the same things. But in reality they’re quite different.
Browser Behavior and 301 Redirects
Wondering whether browsers cache 301 redirects or not, and for how long? Read on, because we have it all for you!
So, Should You Use a 301 or a JavaScript Redirect?
Need help deciding between a 301 redirect and a JavaScript redirect? Here’s everything you need to know (and nothing you don’t).
301 vs. 302 Redirects: What They Are, When to Use Them
Here’s the difference between the two most common types of HTTP redirects, and when to use each.
The Difference Between .htaccess and Robots.txt
Both files contain text-based configurations hosted on your web server. But they do very different things.
Prevent Others From iFraming Your Site With .htaccess
Need to protect your site from copyright infringement or a clickjacking attack? This solution should help.
7 Best Python Programming Books for Beginners
Python is a hard programming language to learn. But with the right resources, you can ace it. So we rounded them up for you.
The 9 Best Web Development YouTube Channels
Looking for the best YouTube channels for web development? Then read on for our top picks.
Does Namecheap Charge For Domain Transfer?
How much does it cost to transfer a domain name to and from Namecheap? We help you find out!
Does GoDaddy Charge for Domain Transfers?
How much does it cost to transfer a domain name to and from GoDaddy? We help you find out!
Can You Transfer a Domain Name With No Downtime?
No downtime, no worry! Here’s why transferring your domain name to a new registrar doesn’t necessarily mean it will go down.
Can You Register a Domain With Shopify?
Are you wondering if you can buy a domain name for your online store directly from Shopify? We’ll help you find out!
Does Transferring Your Domain Name Affect Your Emails?
We’ve all been there before. You’re about to transfer your domain from one registrar to another, and then you ask yourself… Will I lose my emails?
Can You Register a Domain Name And Host It Elsewhere?
Wondering whether you can register a domain name with one company and host your website with another? We’ll help you find out.
How To Make A Free WordPress Website In 4 Steps
With WordPress.com, you don’t have to be an expert web developer or professional designer to create a beautiful website.
Can You Register a Domain Name Anonymously?
Whether you’re an influencer, fast-growing startup, Fortune 500 company, or just a private guy or gal, you can register a domain privately.
Do You Really Need To Transfer Your Domain Name?
Not all domain registrars are created equal. So here’s how to decide if you need to transfer your domain or not.
Do Namecheap Domains Come With Email?
If you can’t have the email, do you really need the domain? Here’s if and how you can get email addresses for your domain with Namecheap.
The Best cPanel Mail Client
Who needs Gmail when you have Roundcube and Horde? When in doubt, here’s how to choose.
What’s the Difference Between cPanel and FTP?
One is the control panel, the other is the file transfer protocol. Now let’s talk about what this means in plain English.
How to Install WordPress on cPanel (With Screenshots)
Creating the website of your dreams has never been easier. Here’s how to install WordPress on cPanel, without hassle.
How to Add an A Record From cPanel (With Screenshots)
Psst! Updating A records is easier than you think. You just have to know what to look for and what to change.
Where’s the WordPress Built-In XML Sitemap?
WordPress’ built-in XML sitemap is the best thing for SEOs since Red Bull. So here’s how to find it!
How to Add a TXT Record From cPanel (With Screenshots)
Psst! This is easier to do than you probably think. You just have to know what to look for and what to change.
Your OpenAI Codex Questions, Answered
Pair programmer or arch nemesis? However you see OpenAI Codex, one thing’s for sure: it’s a glimpse into the future of programming.
How Much Does OpenAI Cost?
OpenAI’s GPT-3 engine is so good, you can’t afford not to use it. Here’s how much it will cost.
How Long Does It Take to Build a WordPress Website?
The TL;DR? Longer than you think! Here’s what goes into creating a WordPress website and how long each step tends to take.
How Long Does It Take To Learn WordPress?
It can take you anywhere from a week to two years to learn WordPress. Now let’s get a little more specific than that.
The Best Books To Learn HTML5 (For Beginners)
If you plan on becoming a web developer, HTML5 is the start of your journey. These books will help you teach yourself.
Here’s How to Undo Changes in WordPress
WordPress, like it never happened. These are the best ways to undo changes to your site’s content in WordPress.
WordPress Is Easy To Learn… Just Nail These Concepts!
Get on the WordPress bandwagon. Learning to make the most of your website or blog just got easier than ever!
The Best Books to Learn CSS3
These books about CSS3 will help you become the web designer you were meant to be.
Pointing vs. Transferring a Domain Name
You can point a domain name without transferring it, and transfer without pointing it. Confused? We’ll help you decipher it.
Do Domain Transfer Codes Expire?
When it comes to domain name transfers, don’t wait until it’s too late. Here’s by when to use the domain name transfer code.
How Much Should a Domain Transfer Cost?
If you need to move your domain from one registrar to another, it will take more than electricity to keep the lights on.
How Long Does a Domain Transfer Take?
Transferring domain names takes time—and that’s intentional. We explain why that is and what you can do about it.
Should You Transfer Your Domain to Squarespace?
Squarespace is the website builder you’ve always wanted to use. But does that mean you should transfer your domain name to it?
How to Stop Safari From Auto-Zooming on Input Fields
No more zooming, no more problems. Here’s how to prevent Safari from auto-zooming on forms on iPhone.
The 5 Best Code Editors for Windows
When you’re using the right code editor, you’re never coding by yourself.
The 5 Best Code Editors for Mac
Code with the best of them. These code editors for macOS will help you write better code, faster, across languages and environments.
The Simple Guide to Complex CSS Selectors
Stop guessing and start styling: In a world of complex CSS selectors, this guide makes finding the right one simple.
Declare vs. Assign in JavaScript
What’s the difference between declaring a constant or variable and assigning it a value? Here’s everything you need to know.
The Guide to Custom Attribute Selectors in CSS
This guide will help you master custom attribute selectors in CSS, no matter the use case.
How to Get URL Parameters in JavaScript
How to get all or one of the parameters from the URL of the current page in JavaScript with vanilla JavaScript.
Make iFrame Fit 100% of Remaining Height
Two ways to make an iframe take up 100% of the remaining space of the browser window.
How to Get the Page Path in JavaScript
This tutorial will show you how to get the current page path in JavaScript (and more).
How to Get the Current Domain Name in JavaScript
This tutorial will show you how to get the current domain name in JavaScript (and more).
Line Height of ::before Pseudo-Elements in CSS
How to set a different line-height for your ::before pseudo-element without altering that of the original element.
13 Outstanding Tools for Your HTML, CSS, and JavaScript
The tools you need to get the job done. Design, built, test, and deploy websites with these free, can’t-miss tools.
What Is the sr-only Utility Class In Bootstrap For?
Everything you need to know about the sr-only utility class, an important web accessibility feature of Bootstrap.
How to Declare a Global Variable in JavaScript
The two ways to declare a global variable in JavaScript, inside and outside of a function.
How to Add Google Analytics to WordPress (4 Ways)
These are the best ways to add Google Analytics to a WordPress website, whether you can or cannot write code.
How to Create an Anchor Link in WordPress (No Plugins)
This tutorial shows you how to create an anchor link in any WordPress post or page.
Find the ID of a Page in WordPress (3 Easy Steps)
For some reason, WordPress doesn’t show the IDs of pages in the WordPress admin dashboard. So here’s how to find them.