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 main

Kalhara Sandaruwanโ€ข 190

@Impodays

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

Solution retrospective


Designed with CSS flexbox. Any feedback welcomes. Hope to redesign this with CSS grid. I want to which technique is good for these types, CSS grid or Flexbox or mixed

Community feedback

Lucas ๐Ÿ‘พโ€ข 104,420

@correlucas

Posted

๐Ÿ‘พHello Kalhara Sandaruwan, congratulations for your new solution!

๐ŸŽฏ Your solution its almost done and Iโ€™ve some tips to help you to improve it: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>.

This article from Freecodecamp explains the main HTML semantic TAGS: https://www.freecodecamp.org/news/semantic-html5-elements/

โœŒ๏ธ I hope this helps you and happy coding!

Marked as helpful

1

Kalhara Sandaruwanโ€ข 190

@Impodays

Posted

@correlucas wow I haven't think about those. Thanks for the valuable tip

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