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 trialJeffrey Bulman
Courses Plus Student 1,747 Pointsmax-width - 940px ??
Why are we setting the max width to 940. Nick did not explain in the video. Is 940px the standard of most desktops ? from what i can see 1024x768 seems to be on all forums im looking up.
2 Answers
David Tonge
Courses Plus Student 45,640 PointsNick is just using an example for his design. I personally don't view the web with a standard size there's a lot of factors that go into your breakpoint sizes.
Niall Maher
16,985 PointsIt's all preference and depends on many factors like layout and focus points I wouldn't worry too much about precise sizes as you'll find out in a while your designs will end up creating responsive designs that will adjust depending on the devices it is viewed from!
Jeffrey Bulman
Courses Plus Student 1,747 PointsJeffrey Bulman
Courses Plus Student 1,747 PointsAnother dumb question what is a breakpoint ? I can see a lot of resources on how to set breakpoints but none on what exactly one is.
David Tonge
Courses Plus Student 45,640 PointsDavid Tonge
Courses Plus Student 45,640 PointsA breakpoint is a part of a responsive design basically the point in which your layout breaks. If you have a responsive website you want to make sure it works good at any browser size. That's where breakpoints come in. Check out http://mediaqueri.es/ for visual examples.