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

Submitted

Intro component signup form (HTML + SASS + JS)

Siddharth 230

@siddharth-1407

Desktop design screenshot for the Intro component with sign-up form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone, This is my solution for this challenge.

I would say, this was my first time using sass, I'm not sure if im organizing my sass correctly. I learned a lot about forms and validation from this challenge. I don't have much experience with forms and im still learning java-Script.

One thing that i don't understand is the code i copied, it checks if the email format is correct or not.

function isEmailValid(email){
    return/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email);
}

I understand the java script part of it but, I don't understand that line of random characters. I know what's it doing but i don't understand how its doing it. So like am i really supposed to know this or can i just copy it every-time? Let me know if there's anything i can improve on.

Thanks!

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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