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

Product preview card component challenge - Solution using CSS Grid

@Leo-Code-CA

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi there!

I had a lot of fun while building this project using CSS grid!

It was the first time I was using SVG and I've learned that there are several different ways to use that kind of image. I was wondering:

  • What's the best practice to use SVG?
  • Is it better to include SVG images in the CSS or HTML?
  • If the answer is HTML, what tag should I use (<svg></svg> or <object></object> or <iframe></iframe> or another one)?

Happy coding everyone :)

Community feedback

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