Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

i used the positioning techniques to control the share component

Musie Misgun•40
@Natty-tech
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?

im proud that I was able to successfully buld the share component and also making it interactive and reponsive, next time I would like to make the js more efficient.

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

Had some problems with manipulating the share components but after googling I was able to learn some manipulation in css dont neccessary apply in js. ex - in css we can say : .classname { display: "hidden" /to hide a certain element/}

but in js the "hidden" attribute doesnt work and took almost an hour to figure it out.

instead i use the "none" attribute like this : status.style.display = "none"

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

I would like to know if there was effiecient way to make the share component interactive. Thanks for the help!

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 Musie Misgun'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