Article preview card using vanilla JS

Solution retrospective
It was very hard to keep tooltip within screen & its' arrow. getBoundingClientRect() method of global object can help you to calculate your element's position.
What specific areas of your project would you like help with?Optimizing & refactor my code, that's the only wish.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@vietlong90
greate 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