Design comparison
Solution retrospective
I am the most proud of going through 90% without having to use websites like W3 schools for syntax. I thought learning about tables would be a little tough but it was pretty easy to figure looking at the syntax that was offered.
What challenges did you encounter, and how did you overcome them?The main challenge that I encountered was trying to figure out if I was going to use flexbox, grid, or the table element to style the calories within the card. After learning the correct syntax, I combined that with what I know about classes in CSS to apply additional styling.
What specific areas of your project would you like help with?I would love to know how to put this in a mobile version. I feel really confident with desktop design but I would more help with mobile code.
Community feedback
- @MikDra1Posted 3 months ago
To make your code responsive, you can apply media queries and use relative units like percentages (%), rem, or em instead of fixed pixel values. Hereβs how you can update your code:
- Use Media Queries
Media queries allow you to adjust styles based on the screen size. For example, you can scale down font sizes, reduce margins, and adjust the width of elements on smaller screens.
- Use Responsive Units
Replace fixed units (e.g., px) with responsive ones like %, rem, or vw.
If this comment was useful please mark it as helpful π
Good job and keep going πππ
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