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 trialSean Flanagan
33,235 PointsExtra credit
Hi.
"Fork the template provided in the Workspaces associated with this course, and then remove all the media queries. Next, try creating your own breakpoints based on the content. Finally, test your breakpoints on any web browsing devices you have available."
What's the best approach to this? I was thinking of using relative measurements (not px) and being careful not to create too many breakpoints.
I would appreciate any constructive feedback please.
Sean
2 Answers
Cristiano Porto
5,850 PointsYea, sounds like you got the idea. You want to keep the design responsive but yet not too crowded with dozens of breakpoints. normally 3-4 is all you need... Such as mobile, tablets, and desktop. Try to edit css on @media query strictly related to the responsiveness. it's easy to get carried away and do regular css changes under media query. Also don't get too paranoid over getting perfect fit into every device.
Hope I was able to give some helpful tips
Sean Flanagan
33,235 PointsHi Cristiano.
Yeah your tips were very helpful. They earned you an upvote and Best Answer.
Thank you
Sean