Projeto refatorado, Responsivo, desenvolvido com HTML e CSS
PEDRO HENRIQUE SOUZA E SILVA
@PhsesAll comments
- @marcellopradoSubmitted over 2 years ago@PhsesPosted over 2 years ago
Parabéns pelo desafio Marcelo!!
Só uma dica, para os icons das redes sociais não ficarem esticados você pode setar uma width e height iguais para a tag <a> no seu css.
Ex:
a { width: 35px; height: 35px; }
Espero que dê certo!
0 - @martinw0Submitted over 2 years ago
I think think my JS can be a lot reduce. I saw there is some html built-in functionnality to validate form. Is there a way to manage better the error message and the validation process ? Is the form tag needed in the case we are using js to manage the form ? I added min length in HTML and I thought the validity property will take it in account in JS but it doesn't detect empty field. Do you know why ?
@PhsesPosted over 2 years agoHey Martin! Congrats on completing this challenge!
-
I think that you can use just one preventdefault in the event listener of submit to reduce the code.
-
In my solution i didn't use any html functionality, i use only js and regex to validate the form and my solution got much bigger than yours. Its nice see how the same challenge can be done in different ways.
Happy coding!!
Marked as helpful0 -
- @PhsesSubmitted almost 3 years ago@PhsesPosted almost 3 years ago
my solution got much smaller and to get the results I conditioned it after pressing the enter key. Any feedback is welcome!
0