Latest solutions
Latest comments
- @platypus567@pa-aggarwal
Hey,
Your solution looks good and it responds appropriately to the screen size which is great!
For your question about how to deselect a button when another is clicked, instead of using the
<button>
element for the ratings from 1-5, you can use multipleinput[type="radio"]
elements and give them the samename
attribute. This basically allows only one item to be checked at a time.I hope that helps answer your question :)