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

Order Summary Component using Flexbox

Ken 935

@kenreibman

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


THIS IS MY SECOND ATTEMPT... I spent my whole weekend learning how to replicate this with zero knowledge in HTML and CSS. I tried using only Google, and no YouTube tutorials.

I am still trying to grasp media queries and how to make everything responsive.

If anyone has any suggestions on how I can write my code differently, please let me know! Any feedback out of your time is greatly appreciated!

Community feedback

darryncodes 6,430

@darryncodes

Posted

Hi Ken,

Great effort, really close to the design - well done!

Some fundamentals:

Consider using relative units instead of absolute units for responsive design. I can see you have used rem in places, you'll need to change the root font-size with media queries to see the magic happen. Here is some information to get you started:

And finally an awesome guide:

All the best with your journey!

Marked as helpful

1

Ken 935

@kenreibman

Posted

@darryncodes Thank you for the detailed comment with helpful links as well. I will definitely look into all of the resources you provided.

0

@beslerpatryk

Posted

Awesome job Ken! I recommend you to get more familiar with CSS display properties such as grid and flex. It will definitely help you set up the proper layout for your components. I looked up your HTML code. You should put elements in div tags only where there is a need for that. For example, putting h1 tag inside div creates unnecessary lines of code. The overall outcome looks solid. Good luck with your future projects!

Marked as helpful

1

Ken 935

@kenreibman

Posted

@beslerpatryk Thank you for your feedback. I will definitely keep that in mind for my next challenge.

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