Design comparison
Solution retrospective
Hey! I'm back with another challenge, this is a simple rating card. I used some JavaScript to display the thank you card after submitting your rating and added some validation as an extra challenge, to make it work I simply used an if statement where if the output of the rating is 0 it displays a text that asks you to please select a number before submitting. Thank you for taking the time to read! Have a nice day.
Community feedback
- @Kamlesh0007Posted over 1 year ago
Congratulations on completing the challenge!🎉. That's a great achievement, and I'm sure you put a lot of effort into it. I really liked the way you approached the challenge and the code you wrote. You demonstrated a good understanding of the concepts and applied them effectively to solve the problem.I have a few suggestions to improve your code further. You need to add some code in body tag to make the container center using grid layout or Flexbox Here's an example code snippet using grid layout:
<body class=" bg-[#121417] min-h-screen grid w-screen place-content-center">
Marked as helpful1
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