Article Preview Component

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@loiccape
We’re on the same page about already creating the div in HTML instead of generating it in the DOM with JavaScript. Just keep in mind that you can add styles directly in JavaScript, like setting yourElement.style.display = "none"; or "block". This can make it easier for others to read and understand your code. Honestly, you did a great job!
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