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: Floating Action
A ☰ button with no name. The ☰ button must be a perfect circle, in ORANGE. Mr. Bansal
The problem
- The ☰ button must be a perfect circle, in ORANGE.
- Must pass: Button is a circle.
- Must pass: Button is orange.
You'll use: HTML · CSS · Accessibility · Responsive design · Forms
Solve it (expert level)3–6 min · You write HTML & CSS
Show a hint
border-radius: 50% makes a square a circle.
What this teaches (spoiler)
Icon-only buttons need an accessible name (aria-label) or screen readers announce just “button”.