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: Pictures, Please
Tulsi Ginger needs a proper photo. And someone forgot something important. The Tulsi Ginger photo is a postage stamp. Make it 240px wide. And give it…
The problem
- The Tulsi Ginger photo is a postage stamp. Make it 240px wide.
- And give it rounded corners like a modern app.
- Must pass: Photo is at least 240px 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: 240px; }
What this teaches (spoiler)
Images need alt text that describes them, so screen-reader users get the same information.