Vanilla Javascript, Sass Article Preview Component

Solution retrospective
I'm happy I got the javascript to work on this. I also tried something new on this project and used Sass Mixins to create utility classes from the text presets in the figma files. I saw how useful that can be, so I intend to explore mixins more as I progress.
What challenges did you encounter, and how did you overcome them?I struggled with the transition between the different viewport sizes, thinking I needed a javascript solution. After trying separate functions for mobile, tablet and desktop, I realized I could accomplish what I need with media queries instead. That simplified everything.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Scott's solution.
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