What you need to know about SSL certificates and 301 redirects — including whether or not you need one for your redirected domain.
Category: Web & Code
From HTML/CSS to PHP to cPanel. This is your first stop for web development help.
What’s the Best Laptop Size for Programmers?
Are you thinking about buying a new laptop? Not sure what size screen to get? We’ve written this guide to help.
How to Check a Variable’s Type in PHP
So, you want to know how to determine a variable’s data type in PHP? Read on; this tutorial will show you how!
How to Get the Domain Name in PHP
Are you wondering about the best way to get the domain name from the current URL? Read on; this tutorial will help.
How to Check If a String Contains a Substring in PHP
Learn how to check if a string contains a given substring in PHP, with or without case sensitivity — and more.
How to Check for Null in PHP
Not sure how to check for null values in PHP? This tutorial will show you the two best ways to do it, with code examples and without the B.S.
How to Embed YouTube Videos Without Cookies
Learn how to embed the YouTube video player without allowing it to drop cookies on users’ devices.
Learn how to get the current URL of the web page, with or without URL parameters and URL fragments.
How to Run Python Scripts in WordPress
Yes, you can run Python scripts in WordPress. You can either host the script on your server and use exec() or host it in the cloud and use wp_remote_get().
The Developer’s Guide to localStorage
Learn the ins and outs of localStorage, the persistent Storage object that you can use for storing data in the browser.
The Developer’s Guide to sessionStorage
Learn the ins and outs of sessionStorage, the session-scoped Storage object that you can use for temporarily storing data in the browser.
Printing in Python: With a Comma or a Plus?
Need to print multiple expressions in Python? Can’t make up your mind between the comma and the plus operator? This guide will help.
How to Open Other Programs in Python
Learn how to open other programs in Python and keep them running in parallel to your script.
Can You Subtract Strings in Python?
No, you can’t. But you can manipulate strings until you get to the value you want. This tutorial will show you how.
How to Comment Out PHP
Learn how to comment out PHP code and find out the most common mistakes to watch out for.
How to Comment Out CSS
Learn how to comment out CSS code, what to watch out for, and how to not have it slow down the performance of your web pages.
How to Upload File With Selenium IDE
Learn how to upload a file to a form with Selenium IDE. Wink wink: It’s easier to do than you probably think.
Selenium IDE Click Doesn’t Work?
Did Selenium ID record all the clicks, but one or more of your click commands are not working? We’ve written this guide to help.
How to Get Today’s Date in Selenium IDE
Get today’s date in Selenium IDE and format it like a boss. This tutorial will show you how, with code snippets you can reuse and screenshots.
How to Verify Title in Selenium IDE
Not sure how to verify a web page’s title in Selenium IDE? We’ve got you! This tutorial will walk you through the steps, with screenshots.
How to Use an “OR” Operator in Selenium IDE
Do you need to check for two or more values instead of one in your Selenium IDE test cases? Here’s how to make that happen.
The submit() vs. click() methods in Selenium
Need to submit a form as part of your test case? Not sure which method to use? We’ve written this guide to help.
The close() vs. quit() Method in Selenium
Not sure about the difference between the close() and the quit() method in Selenium WebDriver? Here’s what you need to know.
How to Wait in Selenium IDE (2 Ways)
Need to make Selenium IDE wait for a while in the middle of your test case? These are the best ways to make it happen.
How to Use forEach Loops in Selenium IDE
So you want to know how to iterate on the items in a list in Selenium IDE? This tutorial will help you figure it out.
Do You Need the DOCTYPE Declaration?
New to HTML? Wondering if and why you need the DOCTYPE declaration? We explain!
How to Echo an iFrame in PHP
Trying to figure out how to echo an iframe in your PHP code? Here are the three ways to get it done, with code samples.
Top Customizable Free WordPress Themes & Plugins
Transform your WordPress site without spending a penny with any of these highly customizable free themes, plus some useful free plugins.
How to Work on WordPress Without Going Live?
You can work on your WordPress site without going live by changing your privacy settings, using plugins, or working offline on a device.
The Beginner’s Guide to Learning How to Code
Coding is for everyone! Learn how to get started with coding, what resources are available to help you, and how to find a community of like-minded peers.
How to Start Learning Python
Python is a great language for beginners and experienced developers alike. Learn the basics and get started on your journey.
Learn how to convert a NodeList object to an Array in this no-B.S. tutorial.
Does your string contain ___? There’s a simple way to check. Here’s how to search strings for substrings like a pro.
How to Create a Custom Email (With Screenshots)
Tired of having a Gmail or Outlook email address? Want something that looks more… professional? Learn how to create a custom email address.
Is the Index.html File Required?
Wondering whether you need an index.html file on your web server or not? We’ve written this guide to help you find out.
Do HTML Comments Affect Performance?
Leaving comments in your HTML documents makes it easier to edit and debug your code. But does it also have a negative effect on the speed of your website?
Can You Mix CSS and HTML?
Is it possible to mix HTML markup and CSS style sheets in the same document? And if the answer is yes, when is it a good idea to do so?
Are HTML and CSS Worth Learning in 2023?
Not sure if learning HTML and CSS is worth your time? We wrote this guide to help you decide.
How to Comment Code Out in HTML
Did you know you can comment out one or multiple lines of code in your HTML document? Read on to find out how.
The Simplest Template for index.html
Every web project, no matter how big or small, starts with an index.html file. Start yours with this template.
What Is a URL, Exactly?
You’ve heard the term “URL” many times. Now, you want to know what it really means.
How to Name Your HTML Ids and Classes
Learn about the best practices for naming your HTML elements, and the most common conventions for doing so.
Does Index.html Get Cached?
Wondering whether the index.html page of your single-page web app gets cached by browsers? We’ve written this guide to help.
Why Your HTML Code Isn’t Working
Wondering why your HTML code isn’t working? Try this four-step checklist, it might just help!
How to Identify HTML5
Learn about the two ways to identify whether an HTML document is written in HTML5 or not.
Is HTML Case Sensitive?
Do you want to know if tags and attributes in HTML are case insensitive? We have the answer for you, so read on.
Should You Learn HTML Before PHP?
Wondering which web development language to start with? We’ve written this no-B.S. guide to help.
How to Preview an HTML File
Learn how to preview an HTML document in your browser, as well as how to view the source code of that document in your text editor.
How to Make Text Bold in HTML
Learn about the three ways to make text bold in HTML, and the right time and place to each each.
Is CSS Harder Than HTML?
Wondering if writing CSS style sheets is harder than HTML markup? We have the answer for you, and more.
Should CSS Classes Be Capitalized?
Everything you need to know about naming your CSS classes and ids so your CSS code is easy to read, evolove, and maintain.
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.