Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Hard

HTML & CSS practice: The Silent Photo

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

The problem

  • The Golden Chai 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.

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