I used css style components to complete this task.
Design comparison
Solution retrospective
I coded this project in my own thinking and it helps me to understand the problem very clearly and I resolve many errors and bugs by myself. The most interesting part is to apply style to the project using css. Also I learnt how to create a live link for my website by creating github repository and make it live.
What challenges did you encounter, and how did you overcome them?The challenges I encountered is to apply responsive design to overcome that I have watched youtube tutorial videos and studied websites like geeks for geeks take to resolve the problem.
What specific areas of your project would you like help with?I want to know where I need to use grid , flex boxes to effectively build websites. Also I need a road map to be a frontend developer.
Community feedback
- @laurentGurbalaPosted about 2 months ago
Great job on your work!
I noticed that you used an HTML table for the nutrition section. I would recommend trying CSS Grid instead. It will not only make it simpler to arrange the elements, but you’ll also have more control over the placement of the different cells. This way, you can achieve a better layout and make it more responsive and visually appealing.
Regarding your question about when to use Flexbox or CSS Grid, here’s a little tip:
If you have a layout that works on one dimension (either horizontally or vertically), Flexbox is usually the best choice. On the other hand, if you're working on a layout with two dimensions (both columns and rows), as you might have guessed, CSS Grid is the way to go!
I hope these tips help, and once again, great job on what you've achieved so far!
0
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