Article Preview Component using HTML, CSS, and JavaScript

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Ghravitee
Hello @GerryL2. Great work on this project. Your solution doesn't really match the design on mobile devices. You can check for the window.innerWidth to run a new function that'll toggle the classes on and off when it is less than the desired window.innerWidth. This can help you achieve the similarity to the design.
Happy coding!
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