Design comparison
SolutionDesign
Solution retrospective
Working but atm there is no check that disables the submit button until a rating is selected.
Community feedback
- @covstarPosted over 2 years ago
In your javascript, set a condition if the buttons are not already clicked not to submit. E.g; if using jquery $('#submitBtn').click(function(){
Let btn1 = $('#btn1').text(1);
if (btn1 == "") { return false; }
})
What it means, is that if the btn1 is not clicked, the submit button will not work.
Let me know if this was helpful.
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