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 using the worst code possible html and css

@AliTheCoder123

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


I think I wrote the worst code possible, if you could observe it and give me some tips I'll appreciate it.

Community feedback

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have other recommendations regarding your code that I believe will be of great interest to you.

HEADINGS ⚠️:

  • This solution has generated accessibility error report due to lack of level-one heading <h1>
  • Every site must want at least one h1 element identifying and describing the main content of the page.
  • An h1 heading provides an important navigation point for users of assistive technologies, allowing them to easily find the main content of the page.
  • So we want to add a level-one heading to improve accessibility by reading aloud the heading by screen readers, you can achieve this by adding a sr-only class to hide it from visual users (it will be useful for visually impaired users)

I hope you find this helpful 😄 Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

0

@AliTheCoder123

Posted

@0xAbdulKhalid Thanks, There are still good people in this world appreciate it. Also, every Challenge on this website is in 1440p and have 1080p moniter

0

@AliTheCoder123

Posted

@0xAbdulKhalid Thanks for helping me. I am self-learning Front-End Web Dev, So it really motivates me if someone tries to help me.

0

@AliTheCoder123

Posted

The image is not loading on GitHub.It is loading on my pc.Some idea why?

0

@Mitko90

Posted

@AliTheCoder123

You have a slash at the beginning <img src="/images/illustration-hero.svg" alt="IMG">

Just remove it, so it looks like this

<img src="images/illustration-hero.svg" alt="IMG">

Marked as helpful

0

@AliTheCoder123

Posted

@Mitko90 Thanks

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