Code

 /  HTML & CSS Basics Series

All about relative and absolute links

Links are the building block of the internet—allowing everything to connect: all the pages on your website, your website to another website, a search engine to your site. They’re easy to make, but there are a few different types that you should know about that work slightly differently. Regardless of the type, links, when clicked,…

Code

 /  HTML & CSS Basics Series

Basic styling with CSS: class vs. id (and anchor links)

In the last tutorial we created three simple HTML pages and linked them together, creating the (very basic) foundation for our soon-to-be awesome website. That foundation doesn’t look very good though—so in this tutorial we’re going to dress it up a bit. Before we can start coding our layouts, it’s useful to understand some basic…

Code

 /  HTML & CSS Basics Series

HTML & CSS: how they work together

This post builds off the previous tutorial What exactly is a website? An HTML overview in the Web Development Basics Series. You’ll need to grab the code from the previous post to follow along with the steps below. After completing the prior tutorial, we should have our first HTML file all ready to go. Now we want to start…

Code

Show hidden files (like htaccess) in Mac OS X

This method has been posted all over the place, but I haven’t found a good step-by-step walkthrough that explains how and why to show hidden files on a Mac. As my students frequently ask for it, I’m posting here to keep in a reference. Update Aug 2019: you can do it with a simple keyboard…

Code

 /  HTML & CSS Basics Series

HTML & CSS Basics: An Introduction

Looking to learn about coding for the web? This series of posts will get you started doing just that. Start here to find out what you’ll need on your computer to get started writing your first lines of code and how the rest of the series works.