Submitted over 2 years ago
Using regex in javascript and css flexbox, grid
@NitheeshKumar-C
Design comparison
SolutionDesign
Solution retrospective
Any feedback/suggestions guys?
Community feedback
- @vanzasetiaPosted over 2 years ago
Hello there! π
Congratulations on finishing this challenge! π
Some suggestions from me.
- Never use
100vw
on anything as it doesn't account for scrollbars when present. It may only ever introduce potential overflow/scroll bugs. - I recommend adding
rel="noopener"
to any anchor tags that havetarget="_blank"
. This is a security essential for external links. I suggest reading the web.dev article to learn more about this. - Avoid using JavaScript to add styling (unless you've no other option). JavaScript allows you to change the CSS code using the
style
property. But, to make debugging easier and improve code maintainability, itβs best to avoid it. Use CSS classes instead. - Wrap all the
input
element with aform
element. After that, select theform
element and make it listen to the submit event. Finally, run validation.
That's it! I hope this helps.
Marked as helpful2 - Never use
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