Would love feedback on how I can improve my flexbox knowledge. I found creating the circles around the numbers difficult and I know there was a better way to iterate through the numbers and return the value in my JS. My solution felt janky but I am just coming back to coding after a long break and I had only learnt the basics previously. I really enjoy seeing my solution working and look forward to improving my skills and ability.
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