Submitted almost 3 years agoA solution to the Interactive rating component challenge
Interactive Rating Componenet | first crack at challenge with JS
@funupulu

Solution retrospective
Props to this guy. Programming is not easy. I recommend working with and following a code-along until you have enough skills to build on your own. https://www.youtube.com/watch?v=L9HElpQ82KA&list=PL5OIANLlPydqJJqvh1J1NCdNFaKZLoqaz&index=1
Below, why does btn appear twice and what is it doing? Is it calling itself? Recursion?
rating_btn.forEach( btn => { btn.addEventListener('click', handleRatingBtnClick) })
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on funupulu's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord