Product Preview Component using TailwindCSS

Solution retrospective
I am proud of the fact that I completed this project using tailwind CSS and also the picture tag to switch the pictures.
What challenges did you encounter, and how did you overcome them?I wanted to use the <picture> tag with <source> file. I couldn't remember how to do this so I checked out solutions from other contributors.
The biggest challenge was to get rid of the annoying gap at the bottom of the picture in desktop mode. Through trial and error I arrived at making the picture the full height of its container.
What specific areas of your project would you like help with?Any feedback is welcome.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on beowulf1958'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