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 developed by flex and media queries

@tailor-made-god

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


What are you most proud of, and what would you do differently next time?

I am most proud of developing the design just by eyeing out and next time I will try to use clamp function to size the fonts instead of using media queries.

What challenges did you encounter, and how did you overcome them?

The challenge I encountered was deciding the size of the elements and I overcome this by few trial and error.

What specific areas of your project would you like help with?

I want to know how we can use the clamp function in this mobile and desktop only design.

Community feedback

@planeboom911

Posted

Very nice project.

Good things :

  • clean code
  • closely matches design

Bad things :

  • used h1 in the price, h1 is meant to be the most impacting or the heading of the whole page. When used in the product name, it is sensible, but here I think you should avoid any heading altogether, because this price is not a heading. use span or p.

for clamp function, you could check out : clamp calculator

Rating : 9 / 10 ( -1 for incorrect heading usage )

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