@buneeIsSlo
Posted
Hi! @Salvinast, Good job on this challenge! Your solution looks good and is responsive!
However, it is not keyboard accessible. This is because the rating buttons are wrapped in <li>
tags, so they behave as list items as opposed to buttons. To fix this, just wrap the rating
in a <button>
tag. It should look something like this:
<li><button class="rating">1</button></li>
and of course, style it accordingly.
Apart from this, everything works as expected. You've done really well for someone new to JS. Keep it up!
Hope this helps :)
Marked as helpful
@Salvinast
Posted
Hi @buneeIsSlo, I didn't think about keyboard accessibility, but your solution is simple. Imma fix it, thanks!