Implemented Flexbox, CSS Grid, media queries, and custom properties
Design comparison
Solution retrospective
What am I most proud of?
I am most proud of creating a responsive design for the project using Flexbox, CSS Grid, and media queries. Specifically, making the design simple and user-friendly for mobile and tablet devices was a significant achievement for me. These technologies helped me create an interface suitable for various screen sizes, ensuring a smooth user experience. What would I do differently next time?
If I were to do this project again, I would make more extensive use of CSS variables to make managing the project easier. Additionally, I would focus more on optimizing performance by using proper image optimization techniques and lazy loading. I would also pay attention to reducing excessive animations that might confuse users when designing for different devices, ensuring content and buttons are more intuitive.
What challenges did you encounter, and how did you overcome them?Challenges Encountered: During the project, I faced several challenges related to making the design fully responsive across different devices. One major challenge was ensuring that the layout adjusted smoothly on both mobile and tablet sizes. I initially struggled with aligning the elements properly across various screen widths.
How I Overcame Them: I tackled this challenge by using Flexbox and CSS Grid effectively. Flexbox helped with aligning elements and distributing space in the layout, while CSS Grid provided the structure needed for complex sections. Media queries were key in making sure the design worked well on mobile, tablet, and desktop views. Additionally, I regularly tested the design across different devices to refine the responsiveness and ensure a smooth user experience.
What specific areas of your project would you like help with?I would like help with improving the structure and naming conventions of my CSS classes, especially when it comes to creating reusable and easy-to-maintain styles. While working on my project, I encountered some challenges when naming classes that would be easy to modify later and ensure that changes could be quickly found and applied. More specifically, I want to know if my approach to using Flexbox, CSS Grid, and media queries is optimized for responsiveness and maintainability. Are there any best practices I can follow to improve the readability and scalability of my code, especially when dealing with complex layouts? Additionally, do you have any suggestions for improving my use of CSS variables or organizing my code to make it more modular and easier to manage?
Community feedback
- @ChamuMutezvaPosted about 1 month ago
Hi Sanaullah
Congratulations for taking your first challenge, but take note that the deployed site is presenting an unstyled page. When deploying to GitHub, the page that is rendered is the index.html and should be in the root folder just as you have done.
Secondly I suggest to follow the
Learning path
which is another option you will find at the top of this page . It is a guide on the steps you should take and the order of challenges. Someone new to Frontend web development should start with the newbie challenges then move up the ladder progressivelyMarked as helpful0
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