Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Hard

HTML & CSS practice: Thumbnail Trouble

Masala Chai needs a proper photo. And someone forgot something important. The Masala Chai photo is a postage stamp. Make it 160px wide. And give it…

The problem

  • The Masala Chai photo is a postage stamp. Make it 160px wide.
  • And give it rounded corners like a modern app.
  • Must pass: Photo is at least 160px 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: 160px; }

What this teaches (spoiler)

Images need alt text that describes them, so screen-reader users get the same information.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.