Design comparison
Solution retrospective
I tried to change content for "thank you" page instead of duplicating HTML content.
Everything seem to be okay as in general but I'm not sure my method is right about getting rating result to the 2nd page.
My idea was getting selected div's content and pass it into submit button's function in JS but I couldn't manage this. Then I got this value into hidden div and show it after submit button clicked.
I'd be so happy to get feedbacks for this particular project. Thank you all!
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @birkaany,
Nice job on completing the challenge just one suggestion instead of allowing the user to click the button without selecting a value which results in no message on the thank you card maybe just disable the button and once the select a value then enable the value. This can be done by just adding and removing the disabled attribute in the correct if statement by default the button can be disabled.
Hope this is helpful.
Marked as helpful0@birkaanyPosted about 2 years ago@hyrongennike this is a clever solution :) I'll fix this tonight. Thank you
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