Ping single column coming soon page SCSS and Vanila JS
Design comparison
Solution retrospective
Hi comm,
Just improving my basic with this simple project. Any suggestions what can I improve, upgrade?
Franci
Community feedback
- @ArmsAndArrowsPosted over 1 year ago
Hi! I like your solution. One thing I can offer - when error message displays - it pushes image down. Toggling class that shows image could be placed not to the whole container but only to the message. And message could have reserved space for it or absolute position to relative position of its parent. Cheers!
Marked as helpful1@francimelinkPosted over 1 year ago@ArmsAndArrows Thank you. I think I will use your advice. :D
0 - @FluffyKasPosted over 1 year ago
Heyo,
It looks really neat! There's really only a few small things you could improve:
- The box-shadow on the input could be a bit more subtle.
- It's not a bad idea to add a label to input elements that describes what the user should type in (placeholders are not reliable for this purpose). Since in this challenge the label isn't visible, you can hide it with a screen-reader-only class, like so:
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
- It's great to see you added aria-labels to your links, though they could be as easy as "Facebook", "Twitter", etc.
Everything else seems good to me, well done!
Marked as helpful0
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