Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Article Preview Component

matt2282 310

@matt2282

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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.

Community feedback

@DiegoAlvees

Posted

Good job, I had difficulties with this challenge, your code helped me with some questions

0

Please log in to post a comment

Log in with GitHub
Discord logo

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