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

Submitted

Simpe QR page using HTML and CSS

Júlia Nunes• 30

@CuriouslyHappy

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Did I do something that would be better doing another way?

Community feedback

P
Jessica• 880

@perezjprz19

Posted

Ok, so just finished work and it looks fine on my end on most screen sizes (aside from the whole card not being centered).

In regard to your error report and to elaborate on what @Crazimonk said...

The web has standards that need to be met so that it is accessible for all users. Semantic tags such as main, header, h1-h6 are all part of that.

Here is a more indepth article

Marked as helpful

1
P
Jessica• 880

@perezjprz19

Posted

Hey there! 👋

I think the fixed positioning is really messing with the design on my screen. The image is appearing in one place, the text on another, and the card itself on another. Have you looked into flexbox at all? I feel it might be really beneficial in this case for the positioning of items within the card.

Marked as helpful

1

Júlia Nunes• 30

@CuriouslyHappy

Posted

@perezjprz19 Thank you so much for the feedback!

I noticed that the position went terribly wrong as soon as I posted here and saw the preview. I changed everything to absolute, on my phone screen it is working better now, could you check again?

I didn't know about the flexbox, I will look into it. Again, thank you so much for the feedback!

0
Naveen Gumaste• 10,480

@NaveenGumaste

Posted

Hay ! Good Job Júlia Nunes

These below mentioned tricks will help you remove any Accessibility Issues

-> Add Main tag after body like it should be your container. For 1st heading or h1 tag, use header tag and then inside the header put your h1 or h2 etc . But use header tag only once in main heading element.

-> Why use body { background-color: lightblue; } when the design is white?

Keep up the good work!

Marked as helpful

1

Júlia Nunes• 30

@CuriouslyHappy

Posted

Heey @Crazimonk thanks for the feedback!

If I may ask, is the main and header for organization and to help with the CSS later, or is there is another function?

I used the background color blue for the body because I thought the page was a little blueish while the middle (where the code and paragraphs are) was totally white.

0
Naveen Gumaste• 10,480

@NaveenGumaste

Posted

@CuriouslyHappy Main and Header are semantic tag what is a semantic tag then =>A semantic tag in HTML is a tag whose name clearly describes its purpose and content. Refer this article you will understand Let me tell you semantic are very imp for a page structure

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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