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

@Sadikibenda

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 am so proud to work on my first little javascript project.

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

designing pop up share box was more challenging. but after out how to actual working on it css property, but i still have to work in more.

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

any feedback will be appreciated.

Community feedback

P

@steveostler

Posted

Looks good. Nice work. Maybe add a conditional statement so the share box can be closed. Something like

share.addEventListener('click', () => {
    popup.style.display =
    popup.style.display === 'block' ? 'flex': 'block';
});
0

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