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 build with Astro and Tailwind CSS

SmartAce 170

@Smart-Ace-Designs

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?

Learning new CSS tricks such as adding spacing between letters and adjusting line height. What I would do differently is handle the dual image differently. I believe the solution is to use the element, but I could not figure out how to map its functionality to the Astro equivalent - so I used the "hidden" declaration instead which is not ideal.

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

Spend way too much time tweaking spacing, text size, text weight, etc. Perhaps Figma might help.

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

Using the Astro component to select different images based on the screen size. The documentation, that I found, does not seem to explain how to do this (assuming it is even possible to do with this component).

Community feedback

@omarnate1

Posted

Nice job, well done. Very nice and clean codes.

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