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

Article Preview Component Solution

Sean Chen•170
@chenmeister
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 am proud of using Vanilla JS to get the tooltip to display on the desktop and mobile designs when share button is clicked. It's been a while since I used vanilla JS to work on webpages as I primarily code in React and TypeScript.

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

Some challenges I encountered include getting the design to match the mobile and desktop versions. So far the mobile version is successful. However, the tooltip on the desktop version is not displayed correctly even though it displays to the left of the shared icon when clicked.

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

I would like some help in placing the tooltip above the share icon when page is displayed in desktop version.

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 Sean Chen'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

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