@kirtymeena
Posted
Hi, nice work completing this challenge. I have noticed few issues:
- Thank you text is not in the center.
- user should not be able to submit without selecting a rating, I am able to submit which I think is not correct. You can create a form and use onSubmit to check if the user has selected any number or not.
if you add the flip card effect on submitting it will look even better. Adding an active selector to a button makes it look nice when clicked on it.
apart from small issues, the design looks good just thank you text and text below it are not centered.
Keep coding.
Marked as helpful
@nikavolk
Posted
@kirtymeena Thank you for great feedback!
I completely overlooked the centered Thank you text and will fix it.
I've implemented a check to see if no value has been selected at all and output it as such, but your suggestion of preventing a submit without choosing a rating in the first place makes way more sense. Will update the code. Thank you! ❤️