Is this the best approach? Preview component master solution with grid

Solution retrospective
At the beginning I was a little confuse about what was the better approach to solve this. Actually, still I don't know if my solution is completely correct, but at least it works.
I made the HTML and CSS part very quickly. Where I had to think a little bit harder were with the JavaScript part. Which is funny because I took a path where most of the the job is using CSS.
Also, I still can't figure out how to make it work the fadeOut
keyframe animation. If you have any suggestion about my solution I would be thankful.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Carlos Guzman'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