Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @Phses

    Posted

    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
  • Martin• 220

    @martinw0

    Submitted

    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 ?

    @Phses

    Posted

    Hey 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 helpful

    0
  • @Phses

    Posted

    my solution got much smaller and to get the results I conditioned it after pressing the enter key. Any feedback is welcome!

    0