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-master

@Lbaranda26

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@Sylvester009

Posted

Nice work here, to complete the whole setup for the desktop, try to make it possible for the share modal to open and close when the share button is clicked. Use can do by putting an if statement inside the function of the EventListener, something like this: desktopShareButton.addEventListener("click", () => { if (desktopShareModal.style.display === "flex") { desktopModalIsClose(); } else { desktopModalIsOpen(); } });

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