Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML One Solution

Top Hedgehog Facts in Aside Element

I put the top hedgehog facts in an aside element as they are not directly related to the document. I also put the aside element outside the main element. Is there anything wrong?

1 Answer

Akash Sathish
Akash Sathish
13,926 Points

There isn't anything wrong with your approach Mr. Irenius Mhemba. Information that are not directly related to the main content, generally comes under aside element with respect to HTML semantics. If your aside content is somewhat related to your main content, then it is best to place the aside element inside main element. However, it isn't necessary if the aside content is completely irrelevant to the main element.