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 trialDiego Alvarez
6,680 PointsThis lesson is contradictory
Before this practice, in one of the quizzes, it didn't allow me to wrap the aside
element inside the main
element, it said something like it's not a good practice, but now the instructor is doing it in this practice.
So what's the right approach? Aside goes inside main tags or not?
1 Answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi Diego,
It's a bit difficult to comment too much withoyut looking at the context of the code or the project. One thing that migth help is if you look around on google for some indicators as to why the code challenge might have told you what it did and why the instructor coded the way they did.
For example I typed "use aside tag insinde main" into google and it came up with this and it might explain what aside
might refer to semantically.
Admittedly the information is a few years old but at the time if was a candidate recommendation that aside n HTML 5.1 (CR) the definition of aside be "related to the content of the parenting sectioning content".