@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- The input and the button should be enclosed in a <form> tag.
-
"Email Address" should be a
<label>
tag with afor="emailField"
attribute to link it with the input. If a user clicks on this label, the input field with the id="emailField" will be automatically selected.<label for="emailField">Email address</label>
- It's interesting that you use localStorage for data submission. As a suggestion, you could have everything on a single screen and toggle visibility if the submission is successful. This way, you can avoid page reloads and the reloading of all styles. You could even use query params to send information like the email.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
@JoshBolu
Posted
thank you, will start using the correction from now on @MelvinAguilar