Design comparison
Solution retrospective
How can I improve the mobile design? I couldn't figure out how to implement that part, the designs was the same for desktop and mobile versions.
If you see any improvement, please feel free to comment, I would really appreciate any feedback
Community feedback
- @vanzasetiaPosted over 2 years ago
Hi, Marco! 👋
Congrats on completing your first challenge! 🎉
There are some areas that you can do to improve the solution.
- I recommend making the blue background fill the entire page. You achieve this by using the
body
element and setmin-height: 100vh
so it will always fill the entire page. - Also, I suggest simplifying the HTML markup by making the
body
as the card container and usemain
element for the card. This way, you can remove all thediv
and just usemain
andfooter
for the HTML markup. - The alternative text of the QR code doesn't need to tell that it is an image. It's already an
img
element so you don't need to tell about it again. 🙂 - In addition to the previous feedback, I suggest telling the user what is the image for, so alternative text like "QR code for frontendmentor.io" would be good.
- I recommend only setting the
max-width
for the card and removing thewidth
. By doing this, not only it allows the card to shrink on smaller screen sizes but also prevent it from becoming too large on wide screen sizes. - On mobile landscape the
footer
is on the card element.
That's it! Hope this helps.
Marked as helpful1 - I recommend making the blue background fill the entire page. You achieve this by using the
- @SamadeenPosted over 2 years ago
Hey!! Cheers 🥂 on completing this challenge.. .
Here are my suggestions..
- You should use <main class="showcase"> instead of <div class="showcase">.
This should fix most of your accessibility issues
. Regardless you did amazing... hope you find this useful... Happy coding!!!
1 - @alosoftPosted over 2 years ago
@baremarco You've done a greate job with the ui. Here is how you can make html semantic
- Change the div with the showcase class to a main tag
- Every html page should at least one h1 tag so change the paragraph to an h1 instead of h2
1
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