newsletter signup form

Solution retrospective
I would like the reviewer assistance, if you can, in getting the email input value with javascript and being able to use it in the success page. Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @SvitlanaSuslenkova<main>- you can add css without class: main {css} (no dot as it's not a class). Your <main> needs max-width (rem or px) to limit the size. Max-width doesn't replace width.
Try this: let inputText; function YourValidatingfunction (event) {inputText=event.target.value;}
Marked as helpful
Join 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