Newsletter Sign Up: HTML, CSS, JS, Mobile first.

Please log in to post a comment
Log in with GitHubCommunity feedback
- @kimodev1990
Really great work in completing the challenge and loved the transition between two containers, Just a simple feedback :
- If I added space at start or end of the input email ( not in between ), It gives an error. To eliminate this issue , You could just adjust in the javascript :
e.preventDefault( ); const email = emailInput.value.trim( );
The rest of your code is okay, trim ( ) removes if there is any spaces added in input.
Hope you find this Helpful.
Other than that, Nice work & Keep going on.
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