This is a solution to the Newsletter sign-up form with success message challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- Add their email and submit the form
- See a success message with their email after successfully submitting the form
- See form validation messages if:
- The field is left empty
- The email address is not formatted correctly
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Solution URL: Add solution URL here
- Live Site URL: Add live site URL here
- Vanilla Javascript
Building this in vanilla javascript helped gain a deeper understanding of React. I understand better the uses of react hooks like useState and useEffect. The most interesting part was tracking the changes without react useState hook
This has sparked my curiousity to deeply understand state management and best practices.
- Website - Add your name here
- Frontend Mentor - @yourusername