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 Solution

@ArryBlack

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'm not very proud of this solution to be honest. I underestimated the challenge. I'd make the code more concise and trim down the excessive components next time.

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

  1. Positioning tooltip on larger screens. I solved this issue by creating a div to wrap the buttons and the tooltip in it, and gave the tooltip absolute positioning.
  2. Creating the proper active states for both mobile and desktop. I solved this issue by creating different markup and styles for each.

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

The markup and CSS was messy and I had to use a lot of extra components which are probably not necessary. I'll make the necessary code changes based on any feedback. There is also a 'bug', which occurs when testing the website's responsiveness with devtools, but shouldn't be an issue for the end user. Nonetheless, any help in fixing the bug is highly appreciated.

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