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 trialJavid Abbasov
9,243 PointsI just didn't got, why we use margin? what is the purpose?
I just didn't got, why we use margin? what is the purpose? because i set it to 0 and then set it to 100 and there was no changes. Thanks for help.
3 Answers
sarahwehinger
3,848 PointsDo you mean "why using generally margins in css"? Or in this video?
Benjamin Hedgepeth
5,672 PointsMargin is applied to elements for the purpose of adding space in between them.
Louis Espinoza
1,392 PointsI am a little confused myself. We add a margin of 0 to the logo element but after refreshing the page you see no changes being made. What was the purpose of adding a margin of 0 in the first place?