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

P
omwanzak 140

@omwanzak

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?

completing the challenge

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

  1. positioning the 169 previous price is hard for me because it kept shifting with different screens
  2. I could not the exact padding measures on figma, had to come up with my own calculations
  3. I started with the mobile design and could not hack it, shifted to desktop then adjusted to mobile.
  4. the media query is a bit challenging-Did not use font display, line height, line length font size topography

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

the above mentioned challenges

Community feedback

RohanIV 160

@RohanIV

Posted

Nice page. You can try this for your 169 price:

  • remove: 'justify-content: space-between; on .price tag and add 'align-item: center;' .pricetag { align-item: center display: flex; line-height: 1rem; margin-bottom: 10px; }

-remove width:50px; from .price1 .price1 { color: #3D8168; font-family: "Fraunces", sans-serif; font-weight: 700; font-size: 32px; margin: 10px; margin-left: 0; }

hopefully this helps

Marked as helpful

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