Design comparison
Solution retrospective
I was able to finish this Component in less time. I was able to integrate the responsiveness of the page to all devices.
What challenges did you encounter, and how did you overcome them?Redundancy in responsiveness of the page
What specific areas of your project would you like help with?Code review and any other review
Community feedback
- @haquanqPosted 4 months ago
Hello @Ricardo-Tesla,
Although people would say
you can choose any tool you want
. For this small challenge you should use HTML and CSS only (leave the framework for more complex challenge - at least intermediate level otherwise it is a waste).Code review time!!
- Your page lack
h1
, each page must have oneh1
(improve SEO and accessibility). What is the page content about? Put it inh1
. - You page have no landmark, page must have one
main
landmark (wrap you most important content inside it, read more here). - You use
div
which give zero context on what is this chunk of content, just bland texts?. Use more semantic elements likesection, article,...
. - You are using too many redundant breakpoints in media query (look at my solution, zero breakpoint and still responsive)
After all, you need to really understand HTML and CSS in-depth before trying libraries. Otherwise you would keep making the same mistake again and again.
Keep it up, have a nice day!!
Marked as helpful0@Ricardo-TeslaPosted 4 months agoThank you for your correction @haquanq . Kindly check the updated solution for more reviews.
0@haquanqPosted 4 months ago@Ricardo-Tesla it's nice that you fixed it immediately, here is more you can add to your solution:
- Add
min-height: 100vh
to container element (in your case it ismain
) because for some page with content smaller than the viewport it will expose the HTML document element. - Only use
margin
when you want an element to have space from it's sibling elements, usepadding
to create empty space from parent to child elements.
Cheers 😁😁
Marked as helpful0 - Your page lack
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