Choose the correct element for each value.
What to build
Three bars.
Requirements
Downloadis aprogresswithvalue="40"andmax="100".Disk usedis ameterwithvalue="6",min="0"andmax="10".Batteryis ameterwithvalue="20",min="0",max="100",low="30"andoptimum="100".- Each has a joined
label, and fallback text inside it.
Constraints
Do not use images or div bars.
Example
<progress value="30" max="100">30%</progress>
Why it works
Using the right element tells assistive technology what kind of value is shown, and the meter's low and optimum let the browser show that a low battery is bad.
Hints
Hint 1
The download is a task in progress.
Hint 2
The disk space and the rating are measurements.
Solution
Show one correct solution (try it yourself first)
<p><label for="d">Download</label> <progress id="d" value="40" max="100">40%</progress></p> <p><label for="u">Disk used</label> <meter id="u" value="6" min="0" max="10">6 of 10</meter></p> <p><label for="b">Battery</label> <meter id="b" value="20" min="0" max="100" low="30" optimum="100">20%</meter></p>