Project 1: Portfolio
CSS Stylist
Builds on these lessons
Step 1 of 3
Project
Rule Syntax & Base Styles
Every CSS rule has the same shape: a selector, then a block of declarations in { property: value; } pairs. Style the page basics — set a font-family and background-color on body, and a color on all headings using the type selector h1, h2, h3.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
body {
font-family: 'Inter', sans-serif;
background-color: #f5f2e8;
color: #1a1a1a;
}
h1, h2, h3 {
color: #111827;
}← Previous
Next →