Show a rocket emoji in a paragraph.
Acceptance criteria
- 1.Show a rocket emoji in a paragraph.
HTML Tutorial · Advanced HTML
These 10 tasks go with the HTML Emojis chapter. 5 of them ask you to build something small from scratch; 5 give you code that is already broken and ask you to work out why. Set aside about 90 minutes for the whole set, though you can do them in any order.
Nothing here is marked by a person. When you press Submit, the editor checks your code against the points listed under each task and tells you straight away what passed and what didn't (you need a free account to submit). If you get stuck, there are hints, and a worked solution once you've had a go. The first 2 tasks are free; the rest are part of the practice plan.
If it's been a while since you read the chapter, here is how it starts: “Emojis add emotion, personality, and visual appeal to web pages. They are part of the Unicode character set , which means you can use them directly in HTML just like text. HTML supports emojis natively — no extra library or image is required.” .
1.Add an emojiexercise · easy · 10 min
Show a rocket emoji in a paragraph.
Passes when: Show a rocket emoji in a paragraph.
2.Label a meaningful emojiexercise · easy · 10 min · practice plan
Wrap the emoji in a span with an aria-label.
Passes when: Wrap the emoji in a span with an aria-label.
3.Hide a decorative emojiexercise · easy · 10 min · practice plan
Mark a decorative emoji as hidden from screen readers.
Passes when: Mark a decorative emoji as hidden from screen readers.
4.Use an emoji entityexercise · easy · 10 min · practice plan
Insert an emoji using its numeric entity.
Passes when: Insert an emoji using its numeric entity.
5.Label an emoji buttonexercise · medium · 10 min · practice plan
Add a button whose emoji carries an accessible label.
Passes when: Add a button whose emoji carries an accessible label.
6.Fix the unlabelled meaningful emojibug fix · easy · 8 min
A meaningful emoji needs an accessible label.
Passes when: A meaningful emoji needs an accessible label.
7.Fix the decorative emoji announced aloudbug fix · easy · 8 min · practice plan
Purely decorative emoji should be hidden.
Passes when: Purely decorative emoji should be hidden.
8.Fix the wrong rolebug fix · easy · 8 min · practice plan
An emoji standing in for an image uses role="img".
Passes when: An emoji standing in for an image uses role="img".
9.Fix the broken numeric entitybug fix · easy · 8 min · practice plan
The entity is missing its # marker.
Passes when: The entity is missing its # marker.
10.Fix the emoji used as an image sourcebug fix · easy · 8 min · practice plan
An emoji is text, not an image file.
Passes when: An emoji is text, not an image file.
Between them these tasks cover Emoji in markup and Accessible emoji.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.