Jonathan• 20
@jchu51
Posted
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