Design comparison
Solution retrospective
I'm very proud of the homepage I created using Gulp.js, Sharp.js, Sass, CSS Grid and Flexbox. . This project allowed me to implement automation for image optimization with Sharp.js, making the page faster and more efficient. Additionally, using Sass helped me organize the style sheets, and combining CSS Grid and Flexbox gave the design a dynamic and responsive layout, adapting seamlessly to various screen sizes.
If I could do something different next time, I would focus on further refining the code structure and ensuring even more modularity in my Sass partials. While the current project works well, I think there is room to improve CSS scalability, especially for larger projects. Additionally, I would invest more time in SEO optimization and accessibility to ensure a better user experience for all visitors.
What challenges did you encounter, and how did you overcome them?The main challenge I encountered was placing an image next to a block of text using CSS Grid. The image was larger than expected, causing it to overflow and creating unwanted horizontal scrolling on the page.
To overcome this, I used grid-template-columns to better define the spacing for the image and text. Additionally, I implemented the max-width and object-fit properties on the image to ensure that it stayed within its grid area and adapted to different screen sizes without causing layout issues. These adjustments helped eliminate overflow and ensured the layout remained clean and responsive.
What specific areas of your project would you like help with?I'm really open to any feedback that can help me improve. While I am happy with the outcome of the project, I believe there are always areas that can be improved. Specifically, I would appreciate information on:
- Code Optimization: Are there ways to make my code cleaner or more efficient, especially when it comes to CSS Grid, Flexbox and Sass?
- Performance Improvements: Any suggestions on how I can further optimize image handling and load times, especially with the use of Sharp.js and ** Gulp.js* *.
- Accessibility and SEO: I would love feedback on how to improve the page's accessibility and SEO practices to ensure it is fully optimized for search engines and user experience .
Any other suggestions or observations are welcome!
Community feedback
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