MATERIAL FOR YOUR STEP 4 PAGE
Everything inside the gray-blue box below is what you rewrite, in your own words, onto your step4.html page.
Rule and selector
The whole block is a rule. Every rule starts with a selector — the part before the curly braces that chooses what gets styled. Inside the braces come the declarations: a property, a colon, a value, and a semicolon. The colon connects the property to its value; the semicolon ends the line. An equals sign is never used in CSS.
selector {
property: value;
}
The standard rules
Write rules for the elements you use most: header, footer, main, h1 through h6, and p. One rule styles every matching element on the page at once. And remember where the file lives: your style.css goes in the css folder.
The last guy wins
HTML is linear, but CSS is not quite. If two equal rules target the same thing — say an h1 rule near the top of the file sets red, and another h1 rule near the bottom sets blue — the one lower in the file wins. The last guy wins.