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 trialJunaid Ahmed
2,163 Pointsdifference between layout and template
difference between layout and template
2 Answers
Sergio Alen
26,726 Pointsa layout is how you position the elements in your page, a template is a like a reusable page that uses an specific layout.
Konrad Pilch
2,435 PointsThe layout is the way the page looks, its usually called UI. SO e.g. on top you have header with navbar. On the side you have the sidebar, and on your other side you have another sidebar.
A tempalte is e.g. having a layout already made, which will save you the time to write all the positioning, like sidebar width 30% etc.. as youv already done that before.
If you have made 100pages, and you get a 101 client, you coudl just probably use a tempalte of one of the pages youv already done, and you woudl done it with no time.