
Design comparison
Solution retrospective
- table sytling.
- list-item ::marker styling.
I don't know how to style table element. even it stay close to design file, I think I should use caption
element for table caption. I just struggle with table styling. for the ::marker
styling. I can only style those to the design. I just set it to default.
responsive design.
Community feedback
- @dar-juPosted about 2 months ago
Hi lazyneedle!
One of the methods to make a page responsive is to use media queries. You can add the code to the bottom of the CSS file:
@media (max-width: 768px) { .recipe-page { width: initial; } }
The code resets the fixed width of the block at a resolution of less than 768 pixels. And your page will become more responsive.
About the rest of the code:
- note that the titles H should not be located by the size of the text, but by hierarchy. After H1 comes H2, then H3 and so on. And the font size can be changed in CSS. In this task there is one H1 title, all the others are H2
- this whole card is a section or an article (depending on how the whole page looks), you do not need to use sections inside, div is suitable for this
- the omelet image is content, so filling the alt is necessary
Otherwise, everything is great, good luck with the development!
Marked as helpful1P@Iamnotn3rdPosted about 2 months ago@dar-ju Thanks a lot for your guideline, sir. I will check all of my solution again. For the responsive design, I plan to redo all of my project after I've completed
responsive web design
section ofLearning Path
.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