All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Frontend Engineering · HTML & CSS · Warm-up
HTML & CSS practice: Show the Chai
Chai Latte Box needs a proper photo. And someone forgot something important. The Chai Latte Box photo is a postage stamp. Make it 200px wide. And give it…
The problem
- The Chai Latte Box photo is a postage stamp. Make it 200px wide.
- And give it rounded corners like a modern app.
- Must pass: Photo is at least 200px wide.
- Must pass: Photo has rounded corners.
You'll use: HTML · CSS · Accessibility · Responsive design · Forms
Solve it (expert level)3–6 min · You write HTML & CSS
Show a hint
.photo { width: 200px; }
What this teaches (spoiler)
Images need alt text that describes them, so screen-reader users get the same information.