Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Recipe Card

Clyde Forlandβ€’ 90

@clydehenry3

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

MikDra1β€’ 6,150

@MikDra1

Posted

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 GitHub
Discord logo

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