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 With Signup Form Master

P
p-tam 170

@p-tam

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


Is there a more efficient implementation for the javascript?

This feels repetitive and lengthy.

Community feedback

@Anass-Lamiri

Posted

Hi, you did a great job in implementing this project, the frustration you have I also have it, I don't know about an efficient way but I recommend you to read my code solution for this problem, it doesn't solve your problem but it reduces the amount of code you write, here is the GitHub link: Github.

also, you forgot to add a cursor pointer to your button.

I hope you find this feedback helpful.

Marked as helpful

0

P
p-tam 170

@p-tam

Posted

@Anass-Lamiri Ahh that's exactly what I was after. Adding one class to the parent element is much cleaner.

1

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