
Newsletter Sign-up page using Javascript for email validation
Design comparison
Solution retrospective
< EN >
I'm proud that I was able to faithfully reproduce the original design with just my own knowledge, without resorting to Google multiple times. I also added extra functions with javascript, such as making the button clickable only if there is text, focusing on the input if the email is wrong and submitting the form when pressing Enter.
< PT >
Estou orgulhoso que consegui fazer o desafio até que bem fielmente com o meu próprio conhecimento, sem pesquisar muito. Eu também adicionei algumas funções extras pelo Javascript, como não desativar o botão de submit caso o user não tenha digitado nada no input, quando o email digitado está errado, o site já foca no input, para que não seja necessário clicar e o formulário também pode ser enviado apenas apertando Enter, o que agiliza bastante.
What challenges did you encounter, and how did you overcome them?< EN >
I think the RegExp for email validation was the biggest challenge, I couldn't manage to solve it very well, so I recurred to stackoverflow.
< PT >
Eu acredito que o RegExp para validar o email foi o meu maior desafio, eu não consegui resolver muito bem, então acabei recorrendo ao stackoverflow mesmo.
What specific areas of your project would you like help with?< EN >
Any help and feedback are very welcome! ^-^
< PT >
Toda ajuda e feedback são muito bem-vindos!!! ^-^
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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