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 · Hard
HTML & CSS practice: Make It Pop
The Bun Maska Combo button is grey and tiny. Mr. Bansal is not amused. 1. The button must be DEEP GREEN (#1b5e20). 2. Text at least 20px.
The problem
- 1. The button must be DEEP GREEN (#1b5e20).
- 2. Text at least 20px.
- 3. Round corners. Friendly!
- 4. It must say “Order today”.
- Must pass: Button says “Order today”.
- Must pass: Button is deep green.
- Must pass: Text is at least 20px.
- 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 “Order today”.
What this teaches (spoiler)
Brand colours still need readable text on top. Check contrast for every colour pair you ship.