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

First html webpage

MJyee 30

@MJyee

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?

being my first time coding a html page, the results was not bad, manage to get close to the requested result

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

challenge faces was the centering and making everything scale and move correctly, in the end had to resort to hard coding to set it in place

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

dynamic scaling and positioning of items, i had trouble making the QR code image follow the size of the container box, where the text would be wider than the qr code and the result end up a whack

Community feedback

@lowlifehighway

Posted

Considering this is your first time, it's pretty good work one advice i'd give is to avoid using pixels (px) and stick to more responsive length units like rem or em

Also using things like css grid or flex help with positioning and scaling items more effeciently and relative widths(which ensure that your containers scale up or down)

But seeing as you're just starting off, Nice 👍

1

@A-noob-in-Coding

Posted

Hi there,

You could try the following line of codes for images in css

img{
width:100%
height: auto
display: block
}

In this way the image will always follow its parent container and its height will not be disturbed

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