Ping Single Column Coming Soon Page

Please log in to post a comment
Log in with GitHubCommunity feedback
- @VenusY
You did a great job making your webpage look like the design!
I had a look at your JS code and noticed that you were only listening to the
"click"
event. This makes it so that you can't press enter on the input field to submit your email.A better way to handle this is to change
<div class="inputs_container">
to<form class="inputs_container">
, and then listen to the"submit"
event on this<form>
element instead as this covers every method of submitting the email, i.e. pressing enter, clicking the button, using the keyboard to navigate over to the button then pressing enter, etc.Hope this helped!
Marked as helpful
Join 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