Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Warm-up

HTML & CSS practice: The Add Button

The Masala Chai button is grey and tiny. Mr. Bansal is not amused. 1. The button must be CHAI BROWN (#6b3e26). 2. Text at least 18px.

The problem

  • 1. The button must be CHAI BROWN (#6b3e26).
  • 2. Text at least 18px.
  • 3. Round corners. Friendly!
  • 4. It must say “Buy now”.
  • Must pass: Button says “Buy now”.
  • Must pass: Button is chai brown.
  • Must pass: Text is at least 18px.
  • Must pass: Corners are rounded.

You'll use: HTML · CSS · Accessibility · Responsive design · Forms

Solve it (expert level)3–6 min · You write HTML & CSS
Show a hint

Change the text inside <button> to “Buy now”.

What this teaches (spoiler)

Brand colours still need readable text on top. Check contrast for every colour pair you ship.

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