johnny-estrada
@johnny-estradaAll comments
- @SamL2021Submitted over 2 years ago@johnny-estradaPosted over 2 years ago
Hi Samantha,
Welcome back to coding! I just completed the same project and also struggled with the radio buttons. I had to google a lot before I got them right and the JavaScript section.
Here's my feedback: Instead of list items, inputs with a type of radio button would have been a better choice for the HTML. Inputs allow us to use this cool CSS trick that lets us style the checked checkbox easily, and use less code in our JS. Here' the link to my solution if you're curious about how I solved it using form inputs: https://github.com/johnnye562/interactive-rating-component.
Keep up the good work! Hope this helps!
Cheers, Johnny
Marked as helpful1