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

Responsive Recipe , list, flex and REM as font defaults

@Sirch9

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?

Actually, I have nothing to be proud of. My CSS seems to be all over the place because I was improvising it the entire time. My code editor work doesn't match what I posted to GitHub, and I'm exhausted of having to make adjustments.

What challenges did you encounter, and how did you overcome them?

I struggled a lot with font size for different screens. Font size that actually worked for @(max-width: 425px ) don't work for (min-width: 768px ) I don't understand how cause I used rem instead of px.

What specific areas of your project would you like help with?

Font size at different screen sizes. CSS code best way to approach it and how to create a clean code

Community feedback

@Pjoabe

Posted

Good job with the solution!

You’ve encountered issues with font sizes across different screen sizes, which is a common challenge. It seems that your use of rem units isn’t behaving as expected. One approach to handle this is to use a responsive typography technique, like setting a base font size in the root element (html) and using rem units for relative sizing. Additionally, consider using media queries to adjust font sizes at different breakpoints to ensure they look good on all screen sizes.

Marked as helpful

1

@Sirch9

Posted

@Pjoabe Thank you for taking your time, to view my efforts.

  1. I have never heard of typography technique, I will learn that.
  2. Base fonts/root elements ? So much to learn.
  3. Media Queries, How many should I have ? I use 2 only (min-width:320)and (min-width: 768) is it standard practice ?

Thank you for your feedback much appreciated.

0

@Sirch9

Posted

@Pjoabe Thank you for taking your time, to view my efforts.

  1. I have never heard of typography technique, I will learn that.
  2. Base fonts/root elements ? So much to learn.
  3. Media Queries, How many should I have ? I use 2 only (min-width:320)and (min-width: 768) is it standard practice ?

Thank you for your feedback much appreciated.

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