Web Design

Colors and Backgrounds

CSS (Cascading Style Sheets) is how you make HTML look good instead of plain black text on white. You write CSS inside a <style> tag, targeting an element by its tag name (like p { ... }) or, better, by a class you give it with class="..." and target with a dot: .card { ... }.

color changes text color. background-color changes the fill behind it. Both accept color names ("tomato", "skyblue") or hex codes (#ff6347).

Your turn

Give your page a background-color, and make your <h1> a different color than the rest of the text.

Output shows up here when you Run.
Ask JARVIS for a hint