Runtyme
All practice problems

Frontend Engineering · HTML & CSS · Warm-up

HTML & CSS practice: The Button Brief

The Order button looks like a tax form. Mr. Bansal is upset. Our Order button looks like a government form. Please: 1. Make it ORANGE like our brand…

The problem

  • Our Order button looks like a government form. Please:
  • 1. Make it ORANGE like our brand (#FF9933).
  • 2. Make it BIG. Customers should see it from space. Text at least 18px.
  • 3. Round the corners. We are a friendly company.
  • 4. It must say “Order now ☕” — not “Submit”. Submit to WHAT?
  • Must pass: Button says “Order now ☕”.
  • Must pass: Button is brand orange.
  • Must pass: Text is at least 18px.
  • Must pass: Corners are rounded.

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

Solve it free in your browser3–6 min · You write HTML & CSS
Show a hint

Edit the .order rule in the CSS tab, and the button text in the HTML tab.

What this teaches (spoiler)

Brand colours often fail contrast with white text. Check text contrast (4.5:1 for normal text) and make touch targets at least 44px — it helps everyone, not just some users.

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