Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I was able to validate the input from the user and display appropriate message along with required styling.
What challenges did you encounter, and how did you overcome them?- At first I was not able to think of how to validate the user input efficiently, then I searched on google and came across stack overflow and got the regex required for email and password validation.
- When I first wrote the logic, it was performing well but the code was not much readable and was not upholding the DRY principle .
- I then refactored the code into functions to make it more readable and easy to understand.
I am a beginner in web development so I would appreciate any kind of feedback that would help me improve in writing more efficient and readable code.
Community feedback
- @anwar-elbarryPosted 2 months ago
good job!
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