@elroytoscano
Posted
Hi Anosha, great job with the pixel perfect design and clearing Accessibility and HTML tests.
Here are some areas you may improve:
- As Aakash mentioned, your
icons
class and sub-classicon
could use visual feedback, like change inbackgroundColor
andcursor:pointer
. - You may consider improving semantics by using an unordered list
ul
foricons
instead ofdiv
andli
for theicon
div
. Again good job with providingalt
for the img tags. - The progress bar from 0GB to 1000GB indicates a range and you can use
<input type="range"/>
followed by labels. This will make your progress bar code semantically correct. Here's an example: https://jsfiddle.net/okyf0omz/3/
Hope this helps.
Marked as helpful
@anoshaahmed
Posted
@elroytoscano Wow, those are some things I didn't know!!! Thank you!!
@anoshaahmed
Posted
@elroytoscano Just added some active-states! (My git page takes an hour to update after changes though.)
I didn't change .icons div
to ul
but i'll remember to do that in the future!
I can't give that input-type to the progress bar since it's not supposed to take INPUT from the USER directly, however I did watch a YouTube just now to learn how to design a progress bar better.
Thank you for the suggestions!
@elroytoscano
Posted
@anoshaahmed Oh yeah, you're not taking an input. With respect to input range, I'll check it out later and get back to you as I have some work right now.
You're welcome. Glad I could help :)
Marked as helpful
@elroytoscano
Posted
@anoshaahmed There are two html
elements you can use for displaying a progress, progress
and meter
, progress
is used when completing a task while meter
is used when considering a known range, as in your use case.
Don't forget to wrap it in a form
element.
Here's a simple example: https://codepen.io/elroytoscano/pen/ExwpjgE
Marked as helpful
@anoshaahmed
Posted
@elroytoscano thank u so much!!!!!! ^_^