Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Vanilla CSS & JS

P
Nate Valline•420
@nvalline
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?

This was a fairly straight forward challenge and I feel like I was able to complete the HTML & CSS fairly quickly.

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

Deciding how to manage the JavaScript to complete the desired actions for the share icon was a challenge at first. I decided to add/remove classes when the share icon was clicked.

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

If there is a better way to handle the JavaScript interactivity, I am all ears.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Khalid Benhamou•150
    @5alidev
    Posted about 1 year ago

    Congratulations on completing the challenge! Your solution is impressive and closely mirrors the provided one. I believe being a pro member and having access to the original Figma files made a difference. Keep up the excellent work. Just a small note: in your GitHub repository, you can exclude the design directory from uploading.

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
Frontend Mentor logo

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub