Design comparison
Solution retrospective
i wiil appreciate feed backs
Community feedback
- @PhoenixDev22Posted about 2 years ago
Hi Mbahkingsley,
Congratulation on completing this challenge. Excellent work! I have some suggestions regarding your solution if you don’t mind:
- You should use
<main>
for the card. HTML5 landmark elements are used to improve navigation experience on your site for users of assistive technology.
- Page should contain one level heading. In this challenge, you may use
<h1>
instead of<h4>
.
- In my opinion, the alternate text should indicate where the Qr code navigate the user : like
QR code to frontend mentor.
The alternate text should not be hyphenated , it should be human readable.
- Add
min-height: 100vh
instead ofheight: 100%
to the body that let the body grows taller if the content outgrows the visible page instead.
Hopefully this feedback helps.
Marked as helpful1@MbahkingsleyPosted about 2 years ago@PhoenixDev22 thanks alot. I really appreciate your feedback. I will apply them on my future projects.
0 - You should use
- @DavidMorgadePosted about 2 years ago
Hello Mbahkingsley’s congrats on finishing the challenge and welcome to the frontendmentor community!
It seems that your component is a lot of
height
in your solution, if you want to fix it remove yourheight: 100vh
and instead try centering the component using also flex-box on the body, and setting the body height to 100vh, you could also add thebrackground-color
to the body instead of thediv
of the component.Also I would recommend you to use more semantic html tags like
main
, andh1
(every html file should have 1 of this), your component for example, could be wrapped on a main, and yourh4
could perfectly be anh1
. This will improve the accesibility to your page and also will be better positioned on search engines!Hope my feedback helps you, if you have any questions, don't hesitate to ask!
Marked as helpful1@MbahkingsleyPosted about 2 years ago@DavidMorgade thanks alot david. I will henceforth consider this when working on other projects. I really appreciate your feedback.
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