HTML Emojis — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the HTML Emojis lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Exercises(5)
- 1
Add an emoji
easy10 minShow a rocket emoji in a paragraph.
- 2
Label a meaningful emoji
easy10 minWrap the emoji in a span with an aria-label.
- 3
Hide a decorative emoji
easy10 minMark a decorative emoji as hidden from screen readers.
- 4
Use an emoji entity
easy10 minInsert an emoji using its numeric entity.
- 5
Label an emoji button
medium10 minAdd a button whose emoji carries an accessible label.
Find the bug(5)
- 1
Fix the unlabelled meaningful emoji
easy8 minA meaningful emoji needs an accessible label.
- 2
Fix the decorative emoji announced aloud
easy8 minPurely decorative emoji should be hidden.
- 3
Fix the wrong role
easy8 minAn emoji standing in for an image uses role="img".
- 4
Fix the broken numeric entity
easy8 minThe entity is missing its # marker.
- 5
Fix the emoji used as an image source
easy8 minAn emoji is text, not an image file.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace