Design comparison
Solution retrospective
All feedback and and correction is welcomed
Community feedback
- @vanzasetiaPosted over 2 years ago
Greetings, Finney! π
Great work on this challenge! Your solution looks pretty good! π
Grace Snow has given some incredible feedback about accessibility. π Here is some feedback from me.
- I would recommend trying to simplify the HTML markup. Currently, there are too many
div
to create the card. I suggest using thebody
element as the flex container to align the card to the center of the page and use themain
element for the card element. - I highly suggest finishing this challenge without any media queries. Both the desktop and the mobile layout have the same spacing, font size, etc. So, it's possible to finish this challenge without a single media query. π
That's it! Happy coding! π
Marked as helpful1 - I would recommend trying to simplify the HTML markup. Currently, there are too many
- @grace-snowPosted over 2 years ago
Hi
Well done on this. Just a few small improvements needed
- Indent your code consistently. your code editor can even do this formatting automatically for you
- you need a main element and a footer element (for attribution) on this. These are called landmarks and will solve the warnings in your report
- remove the
br
s from the paragraph. They make the lines break in strange places on my phone screen and would be announced as "break" by screenreaders. Don't try to ever control line breaks like this. Let the width of the container determine where text needs to flow onto the next line - the browser can handle it fine
Marked as helpful1@Finney06Posted over 2 years ago@grace-snow thanks for the feedback it's really helpful but I still don't understand the second feedback well (about main and footer element).
still kinda a newbie.π
0@grace-snowPosted over 2 years ago@Finney06 landmarks are structural elements in a page, children of the body. Main, footer and header are the most common landmark elements you'll need
Marked as helpful1
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