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

Making First QR Scanner Webpage Using CSS And HTML

@ankushPana

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
Hexerse 460

@Hexerse

Posted

For my body I used 100vh height, so that display flex, justify content and align-items are at the center.

height: 100vh; display: flex; justify-content: center; align-items: center; flex-direction: row;

Don't forget to add border radius to the qr code

U can add <br> to shape how u want ur text to look too. I did this.

<h2>Improve your front-end <br> skills by building projects</h2> <p>Scan the QR code to visit Frontend <br> Mentor and take your coding skills to <br> the next level</p>
0
TrungHau 10

@23020061

Posted

too large

0
P
Max 160

@maxkdavis

Posted

HTML & CSS

  1. Use the a header element (<h1>) to improve your html semantics.
  2. Size of the component can be changed using the max-width css class. This will help ensure the size of your component matches the design.
  3. Make your code more readable for other users. Removing spacing between lines 35 and 44.
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