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 sign-up form

Anna 545

@NitaLewska

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


Hi everybody =) It was my first challenge with JS, and I hope I've managed good enough

Community feedback

darshii 525

@darshii98

Posted

You could set the input values to "", after submit button is clicked (when no errors), so that it would seem as if form is submitted. Bdw, nice job !! ;)

Marked as helpful

1

P
j5 2,290

@jmnyarega

Posted

@darshii98 this is a great idea.

0
Anna 545

@NitaLewska

Posted

@darshii98 Ok, Thanks for the idea, I'll do it =)

0
Anna 545

@NitaLewska

Posted

@darshii98 I've done it =) maybe it wasn't the best way to do it, but it works

0
darshii 525

@darshii98

Posted

@NitaLewska Looks great :) .One small suggestion.. you have some repetitive code regarding classlist add and remove, you can create a helper function for that, and apply the function for every input. ;)

1
P
j5 2,290

@jmnyarega

Posted

You did great on this one @NitaLewska, good job.

Marked as helpful

1

Anna 545

@NitaLewska

Posted

@jmnyarega Thank you=) I am a bit interested if I was supposed to do smth with received data, but decided to leave it as it is

0
P
j5 2,290

@jmnyarega

Posted

@NitaLewska I think the challenge is testing on form validations with javascript. You can send data wherever but that's beyond the scope.

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