Article Preview Component Practise

Solution retrospective
Being able to finish the project after watching a video ro two,I think.
What challenges did you encounter, and how did you overcome them?Being able to create the layouts for both desktop and mobile and also using JavaScript to auto-adjust the page based on the viewport's size(more precisely,it's width.
What specific areas of your project would you like help with?Feedback on the layout and code of the project would help. Thanks 😄🙏
Please log in to post a comment
Log in with GitHubCommunity feedback
- @qayoommunawar
Hi kofi, hope you are doing well. A few suggestions i would like to give you for your design. 1.giving height to container or img etc is not encouraged as it can cause problem in case of complex design and responsiveness. As for body it is a good practice to give min-height for a single component. 2. Use width to control the size of divs and imgs. Min and max width do wonders for this. Use pixels or %age for widths and hv for height when needed. 3.you can use css resets like of josh camue in your every design. Theses resets break inherited css rules which oppose responsiveness. Keep designing, keep learning. Wish you best of luck.
Marked as helpful
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