Add a meter showing 6 out of 10.
Acceptance criteria
- 1.Add a meter showing 6 out of 10.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <meter> Tag 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: “The tag is used to represent a scalar measurement within a known range , such as disk usage, battery level, or progress percentage. It is different from , as it can show a measurement that is not necessarily complete , but has a min and max value. is useful for visualizing numerical data in forms or dashboards.” .
1.Show a measurementexercise · easy · 10 min
Add a meter showing 6 out of 10.
Passes when: Add a meter showing 6 out of 10.
2.Set the rangeexercise · easy · 10 min · practice plan
Give the meter a minimum and a maximum.
Passes when: Give the meter a minimum and a maximum.
3.Mark a low valueexercise · easy · 10 min · practice plan
Tell the browser what counts as low.
Passes when: Tell the browser what counts as low.
4.Mark the optimumexercise · easy · 10 min · practice plan
Say which value is best.
Passes when: Say which value is best.
5.A labelled disk gaugeexercise · medium · 10 min · practice plan
Build a labelled meter with a low threshold.
Passes when: Build a labelled meter with a low threshold.
6.Fix the progress used for a measurementbug fix · easy · 8 min
A static reading is a meter, not task progress.
Passes when: A static reading is a meter, not task progress.
7.Fix the missing minimumbug fix · easy · 8 min · practice plan
The scale has no lower bound.
Passes when: The scale has no lower bound.
8.Fix the low threshold in the wrong attributebug fix · easy · 8 min · practice plan
The low boundary is the low attribute.
Passes when: The low boundary is the low attribute.
9.Fix the best value attributebug fix · easy · 8 min · practice plan
The ideal reading is the optimum attribute.
Passes when: The ideal reading is the optimum attribute.
10.Fix the unlabelled gaugebug fix · easy · 8 min · practice plan
The reading does not say what it measures.
Passes when: The reading does not say what it measures.
Between them these tasks cover Measurements, min and max and low and high.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.