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 page using CSS

@imaginarygarden

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

clickglue 120

@clickglue

Posted

Hi Imaginary Garden, beautiful solution! Very well organised CSS file, impressive, makes it easy to read. Two small questions: from earlier feedback I understood that it is better to load fonts in the HTML file, do you know what is better? And in the design files I saw that the mobile solution has no margin around the amge and no border radius. Your solution doesn't implement that.

Marked as helpful

0

@imaginarygarden

Posted

@clickglue Hey, i've seen other feedback about font loading. Essentially it is better to load it in css since you can configure the font implementation. I would recommend this website for the fonts: https://gwfh.mranftl.com/fonts. Yes I did not implement the margin on the mobile since I didn't find the correct way to do it.

0
clickglue 120

@clickglue

Posted

@imaginarygarden Thanks, I've tried it and indeed it works well if I download the fonts. Thanks for pointing this out!

0
P
ldonnianni 110

@ldonnianni

Posted

Hi @imaginarygarden! Great job, the styling within the article looks the same. You could add margin bottom and top in the article(I think is 8rem)and then it will be just like the original. You can use @media to style different sizes of screen. This way you can style for mobile(it is only the article) and for desktop. The recomendation usually is to style for mobile, and then with @media(min-width: 600px), for example you can modify only the elements you need. There are several tutorials about this in Youtube.

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