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

html and css

arun81302โ€ข 60

@arun81302

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


What are you most proud of, and what would you do differently next time?

i want to use flexbox but i have to practice flexbox next time

What challenges did you encounter, and how did you overcome them?

use flexbox

What specific areas of your project would you like help with?

some code changes can be done

Community feedback

@Junbol

Posted

Hi Arun, The issues with your project is the use of Flexbox. Here is the code fixed and then an explanation on the comments:

#outer {
    display: flex;//๐ŸšฉFlexbox!!!!!
    flex-direction: column;//๐Ÿšฉ
    align-items: center;//๐Ÿšฉ
   ** margin: 0 auto;**//๐Ÿšฉ
    /* margin-top: 160px; */ you don't need this code
    /* margin-left: 550px; */you don't need this code
    height: 430px; 
    width: 295px;
    background-color: white;
    border-radius: 10px;
}

<img src="./image-qr-code.png" alt="qrcode"><!-- ๐Ÿšฉ a 'dot' is added before the '/' -->

Here are some tips: Flexbox: Iโ€™m sure you use 3wschools to refresh stuff. But these two new kids on the block are really great:

  1. [Flexbox Webdev] (https://web.dev/learn/css/flexbox)
  2. [Flexbox Css Tricks] (https://css-tricks.com/snippets/css/a-guide-to-flexbox/)
  3. [Flexbox Josh] (https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/)

Keep going!

Cheers

Junier

Marked as helpful

0

arun81302โ€ข 60

@arun81302

Posted

THANK YOU FOR CORRECTING ME @Junbol

0
arun81302โ€ข 60

@arun81302

Posted

yes image and flex box no i didn't use media query yes

0

Fastcheettahhโ€ข 300

@fastcheetah

Posted

Your image is not shown(check if you linked the image correctly in your html code) and the background color is incorrect@arun81302

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