Article Preview Component

Solution retrospective
I wanted there to be a smooth transition from the mobile version to the desktop version regardless of if the share state is visible or note. If the share is visible on desktop and you change to mobile the share page will still be visible but in the mobile from and visa versa. This took longer than I wanted it to but I learned better how JavaScript works.
What challenges did you encounter, and how did you overcome them?I was challenged by how to implement the share button because of how it was different in the active state as well as when in the desktop/mobile version. I had to learn how to use JavaScript in order to edit the style of the page like changing the colors of images and hiding containers.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on matt2282'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