Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 12 months ago

Responsive article preview component

jyoshida93•120
@jyoshida93
A solution to the Article preview component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

I'm proud that I was able to get the basic JS functionality working. I think sometimes I need to take a step back when my code is getting complicated and figure out if I can make things simpler before continuing.

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

It was difficult for me to get the share icon section to behave correctly in both mobile and desktop. I hadn't had a lot of experience with using the CSS position property and the ::after pseudo selector. I overcame these issues by doing some smaller exercise with those two topics independently before adding them to this exercise.

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

I guess is there a better way to get the share icon section working. I felt like I needed to add a lot of complexity to get it working. Also in desktop layout I needed to make the card fixed size since I couldn't find a way to get the share icons overlay to follow the share button as the layout changed sizes.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on jyoshida93'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License