Frontend Mentor | Product preview card component

Solution retrospective
In this project, I used the clamp() function to create a responsive font size, which was a new technique for me and I'm really happy with how it turned out. However, it took me longer than expected because I didn't set a deadline. Next time, I’ll make sure to set an estimated deadline before starting a project.
What challenges did you encounter, and how did you overcome them?I started with a mobile-first approach, which I was able to finish quickly. However, when I worked on the desktop design, I had to adjust the product image since the desktop version was taller than the mobile version. This became a new challenge. In the end, I imported both images into the HTML and used the display property to toggle their visibility between none and block, depending on the design. Thankfully, it worked as expected!
What specific areas of your project would you like help with?I’m happy with how this project turned out. If there’s any area I can improve, I’d really appreciate your feedback.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Dadir-Dev'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