Design comparison
Solution retrospective
This was the hardest until now and took me hours, but finally I can go to the junior's category. If you think I should make any improvements, let me know.
Community feedback
- @dellenarPosted over 1 year ago
Hey @Silas310 firstly congrats for completing challenge. Your code looks amazing well done !
I have couple suggesstion for you which you can type the function with lot easier way for that i recommend you to check my solution and see the function that i wrote or this case.
https://github.com/dellenar/intro-component-signup-form
Usually for cases like that rather than simulate every condition separately you can create a for loop to execute it many times. By that your code will be more clean and will really easy to understand.
If you have any questions due to solution you can reply me back so I can do my best for you
Happy coding :)
1@Silas310Posted over 1 year agoHello @dellenar, thanks for your response. I saw your code and noticed we managed the challenge in diferent ways. I already changed what I did by changing the
switch(index)
to multiple conditions in theif
statement, I think it is now a lot simpler to understand. Nice code btw and thanks for keep me apprised!1
Please log in to post a comment
Log in with GitHubJoin 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