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 using SCSS and HTML

@CrabbOO

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Sarah 560

@AutumnsCode

Posted

Well done, it was great coding from you.

  • HTML: for accessible reason, a main-element is missing from your code. It just a small detail, but has such a power behind it. I would also use another section-element instead of the div with the class of product__content
  • SCSS/CSS: I would recommand to combine scss-variable with css-variable not only for colors, but for font-size, fonts-weight, font-family etc too. In bigger project it helps to maintain your code better.
0

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