
Responsive Article Preview Component with Vanilla CSS and Javascript
Design comparison
Solution retrospective
I am proud of finding an elegant solution to use javascript after a couple of iterations. Working with two divs in the mobile design and an array of buttons with the same eventListener and a toggle I believe is an elegant solution.
What challenges did you encounter, and how did you overcome them?The arrow on the floating share div probed troublesome until I finally found out how to do it. This time I did not match perfectly the design as I wanted to complete the challenge and move on.
What specific areas of your project would you like help with?Is the two divs solution wiht a toggle the best approach?
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