Design comparison
Solution retrospective
Learned a new css property called mix-blend-mode. Used it to style the text color of the buttons.
Community feedback
- @correlucasPosted about 2 years ago
👾Hello Fareem Mohamed, Congratulations on completing this challenge!
Your solution its almost done and I’ve some tips to help you to improve it:
1.You made your html structure entirely with
div blocks
but these div doesn't any semantic meaning, for this reason is better you use a better html markup improving your code, for example for each vehicle card you use<article>
instead of the<div>
.2.Replace the
<div>
you’ve used to wrap the card container with<main>
, that in this case is the best tag and shows that this is the main block of content of this page.3.Think about using relative units as
rem
orem
instead ofpx
to improve your performance by resizing fonts between different screens and devices.Anyhow, if we want a more accessible website, then we should use rem instead of px. REM does not just apply to font size, but to all sizes as well.✌️ I hope this helps you and happy coding!
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