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

@karthikeyan13121999

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


kindly everyone give your feedback , your feedback much helpful in my coding skills

Community feedback

@yannmarc

Posted

Hi @karthikeyan13121999! Your solution looks good in my opinion.

Here are some modifications to make your code killers:

  • First and foremost, organize your files correctly. You should keep your project's assets in a public folder. It will be challenging for web crawlers to index your file system's content as it develops.

I like your CSS, but it could use a little more work.

  • Use CSS variables; they offer additional flexibility in terms of value and scoping accessibility. Therefore, use variables to make your CSS code **banger! ** :root { --variable-name: variable-value;

  • DRY This approach to coding is crucial. Utilize the idea of utility classes to incorporate this into your CSS. To accomplish this, incorporate patterns into your design and create a ".utility-class" to hold them.

  • Using CSS Resets the browser's style and some HTML elements will make your life much more easier * -- Optional*

  • It's not advisable to do this .box div{ padding: 8px;} because you can accidentally target create a layout where the above styling may apply, and may result in bugs. Rather use this: `.box .add-a-class-to-div {padding: 8px}

  • For responsive design there's a pattern or approach called: mobile first so using max-width but mobile first gives more flexibility.

Marked as helpful

0

@karthikeyan13121999

Posted

@yannmarc thank you for your valuable advice sir.

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