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

creat card using flex box

@ridaelfagrouch

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Anna 130

@Anq92

Posted

Good job with your first challange!

I have few tips:

  • use semantic html elements, there always has to be <main> tag and <h> tag in your code => semantic html
  • use "alt" attribute for images, it's important for accessibility, learn about accessibility here
  • use rem units instead of px in your CSS => CSS units

The most important thing is that your solution is not responsive, so it doesn't work properly on smaller screens, check it in your browser's dev tools. You can achieve a responsive behaviour by using max-width or max-height instead of width and height or with media queries In my case I wanted to keep the ratio of the main element in this challenge, so I used clamp() method The decision how to do it is yours :)

You can check my solution here

Good luck with the next challenges!

0

@ridaelfagrouch

Posted

@Anq92 thank you so much

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