@ryanbradley-webdev
Posted
Great job! I went through your code and have a suggestion for optimizing the button states.
Using radio buttons is a great idea for this because it automatically unchecks a selected button if you select a different one. You can actually target the buttons using CSS with basically no JavaScript. If you use a CSS selector for "input[type="radio"]", you can target both the ":checked" and ":hover" states, setting the appropriate style for each.
I hope this helps! Great job again!
Marked as helpful
@AnisBacha
Posted
@ryanbradley-webdev Thank you so much! I appreciate your help with finding the solution.