let x
=>
.map()
<div>
color: teal
______
______
Theebug
Theebug — Learn to Code by Doing
Light
Start Learning
Explorer
···
▼
THEEBUG
index.tsx
learn.md
docs.md
about.md
faq.md
leaderboard.md
privacy.md
learn.md
THEEBUG
›
learn.md
CSS
Style pages with selectors, the box model, flexbox, and more.
Start Course
Beginner
3 levels
01 — lesson1.css
easy
Selectors & Color
1
[ ___ ] {
2
color: [ ___ ];
3
}
Select every <p> and make its text color "teal"
Play
02 — lesson2.css
easy
The Box Model
1
.card {
2
[ ___ ]: 20px;
3
border: 1px solid [ ___ ];
4
}
Give .card 20px of padding and a 1px solid border
Play
04 — lesson4.css
easy
Font & Text
1
h1 {
2
font-size: [ ___ ];
3
text-align: [ ___ ];
4
}
Make the heading 32px and centered
Play
Intermediate
3 levels
03 — lesson3.css
medium
Flexbox Basics
1
.row {
2
display: [ ___ ];
3
justify-content: [ ___ ];
4
}
Turn .row into a flex container with items centered horizontally
Play
05 — lesson5.css
medium
Backgrounds & Radius
1
.button {
2
background-color: [ ___ ];
3
border-radius: [ ___ ];
4
}
Give .button a lightblue background and fully rounded corners
Play
06 — lesson6.css
medium
Hover State
1
.link:[ ___ ] {
2
color: [ ___ ];
3
}
Make .link turn orange when the mouse hovers over it
Play
main
UTF-8
Markdown