

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Build a Static Site Generator
incomplete
2: HTML
incomplete
3: CSS
incomplete
4: Markdown
incomplete
5: Cheat Sheet
incomplete
6: Architecture
incomplete
This lesson's interactive features are locked, please to keep using them
CSS (Cascading Style Sheets) is another "not-really-a-programming-language" that styles HTML elements. It's a way to dress up your HTML with colors, fonts, responsive layouts, animations, etc.
/* Make all <h1> HTML elements red */
h1 {
color: red;
}
Or maybe we want the max-width of our paragraphs to be 50% of the screen width:
/* Make all <p> HTML elements 50% of the screen width */
p {
max-width: 50%;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #1f1f23;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
h1 {
color: #ffffff;
margin-bottom: 20px;
}
p {
color: #999999;
margin-bottom: 20px;
}
a {
color: #6568ff;
}
<head>
<title>Why Frontend Development Sucks</title>
<link rel="stylesheet" href="/styles.css" />
</head>
You can kill your server with Ctrl+C and restart it:
# from inside the public directory
python3 -m http.server 8888
Run and submit the CLI tests with the server running.
If you suspect that you're having caching issues, try clearing your browser cache and reloading the page.