Design comparison
Solution retrospective
Any feedback you have for me will be well received :)
Community feedback
- @palgrammingPosted over 3 years ago
well you first input should say First Name not Jonathan .... he Jonathan there is showing what the focus state of the input should be with a darker text for when one clicks into the the input and starts typing
I would also think if you are going to do your validation one at a time like that then you would have it happen automatically when the user exited the input field https://www.w3schools.com/jsref/event_onfocusout.asp since the user currently has to click the button to get the error message I would say in that case all the invalid fields should show at once
1@luisPolanco25Posted over 3 years ago@palgramming Thank you very much! Actually the placeholder of my first input shows "First name", but when I was finishing I added a default value because I thought I had to make it as close to the design as possible.
I didn't know about the focus out event, but I'll surely try it later! Everyday I get more surprised with the things you can do with JS.
0@palgrammingPosted over 3 years ago@luisPolanco25 yes so much to learn that is why this is a long long journey and then it all changes and you have to learn it again
0@luisPolanco25Posted over 3 years ago@palgramming Yes, but maybe it's what makes it exciting and different! Btw I already applied the change you mentioned, thank you so much again for helping me with my learning procesos.
0
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