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: My Frontend Mentor Solution
- Live Site URL: Live Site Solution
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Example resource 1 - I use this MDN Docs to solve this challenge which is to handle Client-side form validation. I'd recommend it to anyone still learning this concept.
- Frontend Mentor - @mariotbg11
- Twitter - @mario_fed