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

QrCode Built with: Semantic HTML ,HTML classes and span

P

@GhermanClaudiu

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 am proud to finish and go live with my first HTML CSS project

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

MediaQuery

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

MediaQuery

Community feedback

P

@GhermanClaudiu

Posted

Thank you @kodan96 for your feedback, very helpful and instructive

I will put a new version today

0
P
Koda👹 3,810

@kodan96

Posted

hi there! 👋

Changing your layout depending on the screen size can be achieved with @media queries in your CSS file. After defining a @media querie you can make changes on the layout you made before. For example:

@media screen and (min-width: 768px) {

h1 {
  font-size: 3rem;
}
}

would change the h1 element's font-size to 3rem, but only if the screen size is 768px or more. Below that value your original properties gets applied to the page.

Also, if you apply flex-direction: column; to your .container , your elements within it will stack on each other vertically, not horizontally and your layout will look more similar to the design.

Hope this was helpful 🙏

Good luck and happy coding!

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