Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 3: Web Design with Cascading Style Sheets (CSS)!

Instruction

Example HTML and CSS Code Using Selectors

HTML:

<main>
    <h1>This Season's Speaker Lineup</h1>
    <p class="blue">October: David Brancaccio</p>
    <p class="blue">November: Andrew Ross Sorkin</p>
</main>
<footer>
    <p id="copyright" class="blue right">Copyright 2022</p>
</footer>

CSS:

/* Universal Selector */

* {
    margin: 0;
    padding: 0;
}

/* Type Selectors */
`...