Design comparison
SolutionDesign
Solution retrospective
All feed back for improvements are welcome. Any idea to help keep my code simple will be much appreciated.
Community feedback
- @kens-visualsPosted about 3 years ago
Hey @Kobinamd 👋🏻
I have couple of quick tips
- First, the car icons, should have
aria-hidden="true”
, because they're for decoration. You can read more aboutaria-hidden
here. - Next, I'd suggest putting this piece of code in the CSS file, to keep everything in one place
.attribution { font-size: 11px; text-align: center; } .attribution a { color: hsl(228, 45%, 44%); }
- Perhaps, I'd reduce the amount of nested
<div>
s. But, since I don't have much control and I don't want to introduce bugs in your code, the only small suggestion would be to get rid of classcontainer
and give its styles to.main
. Like the following:
.main { margin: 0 auto; width: 100vw; height: 100vh; }
I'm pretty sure the code will still function properly 🙃
I hope this was helpful 👨🏻💻 overall, you did a great job for the second project, keep it up. Cheers 👾
Marked as helpful1@KobinamdPosted about 3 years ago@kens-visuals Thanks for your feedback. Will put that to work.
0 - First, the car icons, should have
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