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

Planets Fact Site (solution)

Thu D. 1,370

@thusmiley

Desktop design screenshot for the Planets fact site coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


My js codes are pretty repetitive (I know :(). I appreciate any ideas on how I can optimize 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 skipping heading levels which warn us as "Heading levels should only increase by one"
  • We want to avoid skipping heading levels, make sure to start with <h1> and working your way down the heading levels (<h2>, <h3>, etc.) helps ensure that our document has a clear and consistent hierarchy. Read more 📚
  • Because skipping heading levels is a poor practice from the perspective of information design, whether we are talking about web pages, books, journal articles, or about anything else. You can not only confuse screen readers but all readers when you don't follow a consistent, logical pattern with your heading structure.

.

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

Happy coding!

Marked as helpful

1

@0xabdul

Posted

Hello Developer well congrats on successfully completed the Planets fact site

  • A Some suggestions for improve your code
  • In Html 📃 :
  • HEADING ⚠️
  • the heading level increase by one
  • the html documents must be contained level of headings 🚀
  • We Do ✓
  • Ex :
<h1> </h1>
<h2> </h2>
<h3> </h3>
<h4> </h4>
  • We use the headings line by line or sequence
  • Don't Do !
  • Ex :
<h2> </h2>
<h3> </h3>
<h4> </h4>
<h3> </h3>
  • I Hope you find the solution and it's useful for you your Planets fact site page project is great Happy Coding Developer

Marked as helpful

1

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