Design comparison
SolutionDesign
Community feedback
- @jchu51Posted about 1 year ago
Hi @youssefsoua
Great job on completing this project.
- form Tag: Please use it for the rating; it helps group related inputs.
<form onSubmit={...}> <input type="radio"/> <button type="submit" /> </form>
- Radio Type for Rating : Radio buttons are best for ratings since users can select only one option.
<input type="radio" name="rating" value="1">
- button vs. a Tag : Use button for actions like submitting and a for redirects.
<button type="submit">Submit</button>
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