Design comparison
SolutionDesign
Solution retrospective
i couldn't update the error placeholder. Any help regarding the same would be appreciated.
Community feedback
- @ehoda9Posted over 2 years ago
fname.addEventListener('mouseout',function(){
- that's cool and great, but in my personal opinion I prefer to use
[keyup event] instead of ('mouseout')
addEventListener("keyup",e = >)
This makes the inputs interact with you better than waiting for the customer to move the mouse outside the inputs and if the client's mouse is not in the scope function will not run
- for Accessibility issues, you can change div to h1
<div class="title"> Learn to code by watching others </div>
- you can use the arrow function instead of anonymous function
Marked as helpful1
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