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

Semantic HTML5 markup / CSS Style - Flexbox

Ahmed Faroukโ€ข 10

@Solid-A

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

Alberto Ledesmaโ€ข 370

@ledesmx

Posted

Hi Ahmed Farouk ๐Ÿ‘‹

Great job on your solution!

In this challenge, there is a subtle shadow behind the card.

I suggest using the box-shadow property to apply that shadow.

You only need to add this code:

#card {
  box-shadow: 0 15px 15px 5px rgba(0, 0, 0, 0.1);
}

I also recommend you to check out the MDN Web Docs about the box-shadow: https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow

Well done for the rest.

Marked as helpful

1

Ahmed Faroukโ€ข 10

@Solid-A

Posted

Thank you, @AlbertoLed I appreciate your suggestion to use the box-shadow property to apply a subtle shadow behind the card. The code you provided looks great.

1
P
beowulf1958โ€ข 1,170

@beowulf1958

Posted

Not sure if this is "semantic" or not, but overall it was awesome. I love that the HTML is super clean and well organized without any clutter. The CSS is very readable and shows a simple solution that works. It's hard to judge the dimension from a jpg, but you seem pretty close.

Well done !

Marked as helpful

1

Ahmed Faroukโ€ข 10

@Solid-A

Posted

Thank you for your feedback! I'm glad you found the HTML code clean, well-organized, and without clutter. It's great to hear that the CSS is readable and provides a simple solution that works. I appreciate your comment about the dimensions, and I'll take it into consideration for future improvements. Your positive feedback is encouraging, and I'm glad you liked the overall result. Thank you for taking the time to review the code @beowulf1958

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