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

Responsive article preview with active social links

@Rlevel87

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?

The project seems very simple at first and then gets complicated with the position of the share box. I was able to keep the java script simple and found solutions with the css. Don't know exactly what I would do different next time but I feel my css is a mess.

What challenges did you encounter, and how did you overcome them?

My initial java script when building mobile view first included a function for toggling the display of the of the share box and the profile. When I went to desktop view I realized that would not work due to the profile disappearing. My initial ideas for solving this went to a lot of different java script ideas. While brainstorming those ideas It occurred to me that all I had to do was set the z-index on the share box and only toggle the display of the box.

What specific areas of your project would you like help with?

I feel my css is a mess. Maybe I am wrong but I feel there is a simpler way to have the share box in the different locations without so much code.

Community feedback

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