Skip to content
Submitted 10 months ago

Product Preview Card using CSS

pure-css
@emmant-web
A solution to the Product preview card component challenge

Solution retrospective


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

I am mostly proud of using display: flex for it helped a lot with positioning divs. What I would do differently next time is to have the cheat sheet of flex and grid to have the reference in front of me.

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

The challenges I encountered involved positioning which is placing the attribution div to the bottom of the page. But if I move it to the bottom of the page it pushes the main container upwards. I solved it by adding more height to the body of the page.

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

I would like help with the efficiency of my code. I feel like I could have done it faster and better if I knew CSS tricks.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on emmant-web’s solution.

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