Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • brunokzz 40

    @brunokzz

    Posted

    Hello! Welcome to Frontendmentor. Congrats on your very first project!! I hope you keep achieving new challenges. Here are some recommendations due to your accesibility reports:

    • "Document should have one main landmark" --> It's a really good practice (overall for screen readers) to use semantic HTML5 landmarks (like header, nav, main, etc). You could replace the div with the "main-box" class, you could set a main tag that includes all the content of the page.

    • "Page should contain a level-one heading" --> It's important that you add an h1 tag, mostly because screen reader users usually use keyboard shortcuts to navigate directly to the first h1, which represents the main content of the web page. If there is no h1, or if the h1 appears somewhere other than at the start of the main content, screen reader users will waste valuable time trying to understand your page.

    • "All page content should be contained by landmarks" --> In order for it to be well organized, it is recommended that you divide the page content between semantic HTML tags. You can find more information in the link next to the accesibility report.

    Finally, here are some recommendations about your code:

    • For centering the component you could set a display:flex to the body, including justify-content: center and align-items: center so that the card is centered horizontally and vertically.

    • The margin property allows you to establish cross-axes value and main-axes value separately. So, to center the qr code inside the card you could set a margin: 5px auto, since auto will center it horizontally.

    However, even with these little things that I'm sure will help you in the future, your desing is very well written and accomplished. Hope to see more of you, and keep coding!!

    Marked as helpful

    2