
Design comparison
SolutionDesign
Community feedback
- @coyoteshkwPosted about 1 month ago
using
border-radius
on your share class, not on img.and maybe limit the height of hero img in mobile view would be better.
JS work nice. good job. your code
document.addEventListener("click", (e) => { if (!modal.contains(e.target)) { modal.classList.add("hidden"); } });
help me a lot! I had used it on my code
0
Please log in to post a comment
Log in with GitHubJoin 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