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 trialJohn Balladares
Courses Plus Student 9,828 PointsCommon Practice
Is it common practice to add ID's and Classes to html after laying out the general layout? Or is it more conventional to add them from the beginning?
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsFor common things that you do like overall wrapper, header, nav, footer, you'll probably put those id's/class's in as you write that markup because you know in advance that you'll need them. For other items, you may not realize until later on that you needed to use a class/id and so you'll go back in and add it.
John Balladares
Courses Plus Student 9,828 PointsThanks Jason, much appreciated!