Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

3 Column Preview Card Component whit only CSS Grid

@nexsalvarez

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@MelvinAguilar

Posted

Hi @nexsalvarez 👋, good job on completing this challenge! 🎉

Here are some suggestions you might consider:

  • Figure elements (<figure>) should only be used when captions are required with <figcaption>, you can directly use the image tag in this solution.
  • This solution requires that SUVS, SEDANS, and LUXURY be <h2> elements instead of <h3>.
  • Car icons are for decoration purposes only, so they can be hidden from screen-readers by adding aria-hidden="true" and leaving its alt attribute empty:
<img src="./images/icon-sedans.svg" alt aria-hidden="true">
<img src="./images/icon-suvs.svg" alt aria-hidden="true">
<img src="./images/icon-luxury.svg" alt aria-hidden="true">

I hope those tips will help you.

Good job, and happy coding!

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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