Design comparison
Solution retrospective
Creating the horizontal layout was easy but the vertical one was a more delicate to achieve. I wasn't sure wether to choose grid or flex. Thanks for your feedback, Cedric
Community feedback
- @kens-visualsPosted about 3 years ago
Hey @Kerdael 👋🏻
I have some tips to help you fix the accessibility issues and some other things.
- In your markup,
<div class="container">...</div>
should be<main class="container">...</main>
and<div class="attribution">...</div>
should be<footer class="attribution">...</footer>
. These will fix the accessibility issues. Don't forget to generate a new repot once you fix the issues. - Next, For the car icons, add
aria-hidden="true”
, because they are for decoration. You can read more aboutaria-hidden
here. To illustrate:
<img src="/images/icon-sedans.svg" alt="" aria-hidden="true”>
- Also, I suggest implementing
:hover
state, which you can find in design folderactive-state
image, after you implement it you can also addtransition: all 0.2s;
to the button and the links, this will make:hover
smoother.
I hope this was helpful 👨🏻💻 Overall, you did a great job, especially with responsiveness, keep it up. Cheers 👾
Marked as helpful1@KerdaelPosted about 3 years agoHi @kens-visuals !
Thank you very much for your feedback! You helped a lot. My site looks better now. And I learned a few tings along the way which is awesome.
Take care, Kerdael
0@kens-visualsPosted about 3 years agoHi @Kerdael 👋🏻
You're welcome, I'm glad to be helpful 😇
You too!
0 - In your markup,
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