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

Frontend Mentor | FAQ accordion

Hacklieā€¢ 80

@Hacklie

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm proud that I made it and would steal ideas directly from the internet next time ;)

What challenges did you encounter, and how did you overcome them?

I didn't think it would take so long to get the accordion up and running.

What specific areas of your project would you like help with?

Code good enough?

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello @Hacklie!

Your solution looks excelent!

I have just one suggestion:

šŸ“Œ To improve semantic clarity, opt for <h1> over <h2> for your main title.

It's more than just text size ā€” it's about structuring your content effectively:

  • <h1> to <h6> are used to define HTML headings, with <h1> being the most significant.
  • Stick to one <h1> per page for the main title, and maintain the titles hierarchy with <h1>, <h2> <h3>, and so on.

While these adjustments might not alter the visual appearance much, they significantly enhance semantic clarity, SEO optimization, and accessibility.

Hope this suggestion proves helpful! Keep up the great work!

Marked as helpful

1

Hacklieā€¢ 80

@Hacklie

Posted

@danielmrz-dev You are absolutely right!

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