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

QR code simple challenge

Atish J 40

@AtishJoottun

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


i would like to know if there is a more better approach to this project. thank you in advance.

Community feedback

Marius 10

@Mxrius1403

Posted

I'm new but I think this would help. You need to set an alt="" tag at the picture sth like alt="QR code which leads to frontendmentor.io" because it isn't a decoration element.

1

Atish J 40

@AtishJoottun

Posted

@Mxrius1403 thank you for the feedback. I greatly appreciate it

0
Hassia Issah 50,670

@Hassiai

Posted

Replace <div class="container"> with the main tag, <div class="bold-text"> with <h1> and <div class="text"> with <p> to fix the accessibility issues. click here for more on web-accessibility and semantic html

For a responsive content replace the width of .container with max-width and give the img a max-width of 100%.

Give h1 and p the same font-size of 15px and the same margin-left, margin-right and margin-top values. Give p a margin bottom value.

Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

1

Atish J 40

@AtishJoottun

Posted

@Hassiai thank you for the feedback. I greatly appreciate it.

0

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