Design comparison
SolutionDesign
Solution retrospective
- what I found difficult when I want to submit the ratings to the thank you section.
Community feedback
- @AdrianoEscarabotePosted almost 2 years ago
Hello Mahfoodh Salem, how are you? Welcome to the community of front-end mentors! I truly loved your project's outcome, however I have some advice that I hope you'll find useful:
To make the submit button work only when the user selects a number, we can do this:
ratingNumber.forEach((rate)=>{ rate.addEventListener('click',()=>{ displayRates.innerText = rate.innerText submit.addEventListener('click',()=>{ thanksCards.style.display = "block" }) }) })
The remainder is excellent.
I hope it's useful. 👍
0@Mahfoodh77Posted almost 2 years ago@AdrianoEscarabote thanks for your feedback it's very useful.
1 - @catherineisonlinePosted almost 2 years ago
Look great! To remove so many report issues you can wrap everything in the main tag and refresh the report 😊
0
Please log in to post a comment
Log in with GitHubJoin 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