
Design comparison
Solution retrospective
I am most proud of successfully implementing the responsive layout for the Article Preview component. I spent a lot of time refining how the page adapts between mobile and desktop views, ensuring the layout adjusts smoothly with Flexbox and Grid. I'm also proud of how I integrated the share button functionality and ensured the links were displayed properly when clicked.
Next time, I would focus more on optimizing the performance and accessibility of the project. I could add more accessibility features, like keyboard navigation and ARIA labels, to make sure it's fully usable by everyone. I would also spend more time testing the mobile-first approach across a wider range of devices.
What challenges did you encounter, and how did you overcome them?One of the biggest challenges I encountered was ensuring that the share button's popup only appears on mobile devices and doesn't interfere with the desktop layout. Initially, the popup was showing up on desktop, which led to a cluttered interface. To solve this, I implemented specific media queries to hide the popup in desktop view, and only display it on mobile using flexbox and absolute positioning.
Another challenge was making sure the images inside the components resized correctly without distorting. This was fixed by setting the max-width: 100% on the images and ensuring they were responsive across devices.
What specific areas of your project would you like help with?I would like feedback on the following areas:
Accessibility: How can I improve the accessibility of my component? Are there any specific practices I should follow to make it more inclusive? Performance: Are there any ways to optimize the performance, especially for mobile devices? I want to make sure it loads quickly even with larger images. JavaScript functionality: I used plain JavaScript for the share button popup. Is there a more
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