Write the CSS6:22 with Treasure Porth
In this lesson, we’ll create and link a new stylesheet to our resume.html file. Inside the new stylesheet, we’ll add some simple styles to introduce color and character to our resume!
Creating new HTML pages is just the first step in developing a whole, cohesive website. We also need to make sure that we've applied the styles, colors, and designs we need to make our website pop!
In most cases, we'll want all of our HTML files to link to the same stylesheet used by our other pages. This helps to introduce consistency because we can share the same styles and class designs on every page on our site. However, in this example exercise we'll create a new, unique stylesheet just for our Resume.
<link rel="stylesheet" href="resume.css">
We place the stylesheet link in the
<head> section of our HTML file, where the important system and browser information is. You can think of the
<head> section as the brains of your page. As Treasure mentions in the video, you'll also need to think about where the CSS file is located in your file directory - but we'll talk more about that in a later video.
You need to sign up for Treehouse in order to download course files.Sign up