Article preview component solution | CSS vs JS

Solution retrospective
I already knew how to do it with CSS only. That's why Share button implemented in three different ways - with and without JS. You'll see :) Question: Do I really need JS here? Is this the best way and why? PS: the way the button is displayed on small screen is the same in all files, of course I could do it without JS too, but I got a little lazy :) I will be happy to receive any feedback and useful advices!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Jo'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