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

Multi step form HTML || SCSS || JAVACRIPT

@newNASA

Desktop design screenshot for the Multi-step form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


I finished my 6th project.

But this project has some flaws and I couldn't fix it, please help me.

Community feedback

P

@KrishnaVishwakarma1595

Posted

Hi, @newNASA

Nice solution. I've few recommendations for you -

  • You should add form validation on first step. As, we can enter wrong email format and in phone number we can enter texts also. For email validation, you can use any email validation regex and for phone number field you can use input type="number" with minlength=12. So, it will allow user to enter numbers only.

  • Or for the phone number you can keep the input type="text", and on the keypress event listener you can check to allow only numbers and the plus icon. As sometimes, we can enter phone numbers with country codes like this +041, +91.

  • You can do the calculation part too. As I can see in step 4 it has just a static value. So, keep a calculation on previous steps of what plan and add-ons the user selects and on the finishing step show the correct calculation.

  • On the confirmation button, you should also show the Thank you message. I think you've skipped that part.

I hope these points will help you to improve your solution.

Happy Coding

Marked as helpful

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