Responsive product card using HTML & SCSS

Solution retrospective
I used this project as an introduction into SASS. It took me a little longer, as I became familiar with SCSS syntax, but it worked perfectly in the end.
What challenges did you encounter, and how did you overcome them?I couldn't center the card vertically - nothing seemed to work. I tried both flex and grid. In the end, I realised I had missed to set html & body height to 100%. Once added, it worked perfectly.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AReactDeveloper
sass is a powerful tool design looks good well done , later when you work on bigger projects you can experiment with partials and putting sass on separate files really helps me a lot you can also put variables resets and base code for your application in partials
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