Interactive-rating-component with React

Solution retrospective
-
have some little problem with
props
using for a while. So far my solution is usingref
to get input radio value and sending up to parent element (app.jsx) viaprops
and then set that value to state (usinguseState
) and the use a state value to passing it to "Thank you card" , may be have some better solution to passing value from children component to parent component and sending to "Thank you card". -
take me for a while to searching thru the internet to find out how to custom input radio and found this may be you will figure it out how to create custom input radio.
-
may be I will try to improving it with validation and transition between "Scoring card" and "Thank you card"
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Nutchapon Makelai'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