Submitted 4 months ago
Article Preview Component using HTML, CSS, and JavaScript
@GerryL2
Design comparison
SolutionDesign
Community feedback
- @GhraviteePosted 3 months ago
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!
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