Design comparison
SolutionDesign
Solution retrospective
Any feedback is great:)
Community feedback
- @RayaneBengaouiPosted over 3 years ago
Hello Aw,
Congrats for completing this challenge ! 🙂
I would just suggest you to handle the input. The "Loading" display is great to inform the user while requests are made, but if I enter an invalid input, then it's loading forever and I have to open my console to see that I got a 422 (Unprocessable Entity) error.
So you could either do a try/catch to handle the error or use regex to make sure the input respect a specific format. You can check my solution if you want an example for regex.
Overall, well done for the challenge and happy coding ! 😃
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