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 trial

CSS

Adaptive Design & Media Queries - having difficulty

Avast ye maties.

I'm having trouble with this section and at first I thought maybe it was just me but then I noticed someone else posted issues about Media Queries and seemed just as frustrated as myself.

Allison is a great speaker and presents well, but I feel that the the entire Adaptive Design section goes a bit too fast.

  • It could be clearer concerning the differentiation between fluid, adaptive and responsive. Having watched the videos 3 times, the differences are still a bit fuzzy for me. Maybe if there were some examples of the different scenarios; fluid/adaptive, fluid/responsive, vs whatever.
  • Allison copies and pastes code, which is great if you already know what you're doing, but I prefer to type each damn letter out. It helps with learning.
  • The sessions go too fast and rushed (yes a pause them) that it seems like Allison is racing against the clock. If this is the case, then maybe there should be another couple video sections in this series. Maybe separating tablet and cellphone media queries.
  • My site doesn't look like the examples given under the screen resolutions Allison hops through. I downloaded the Chrome addon and click on the icon with her but my site, though works fine, doesn't look like hers does, which means I have to download the code from the session before and sift through the differences.
  • Changing from pixels to percentages. It seems like I either missed a couple changes here and there or the series skipped making the appropriate changes. I'm not sure here but maybe if you had a couple beginners go through the series they might experience the same thing.

Overall, I am enjoying Treehouse and am telling everyone who will listen to me. You guys do great work and I can tell you have a passion for it. Keep up the good work.

PS: the whole Lullaby video series seems out of context with the tropical jungle/pirate theme you started with. The video production is great and I'm intrigued and I want to see what happens to Nick, and I know that the airplane is now going to make the connection to the pirate theme, it just seems rather disjointed with the Lullaby group (who I don't really know what they do), the 1940s TV voice (which I love but is also rather random) and the Treehouse/jungle/pirate theme. Again, all well done, but just appears rather random, as if it were two different story lines vs one continuous story. ...but I still enjoy watching them.

12 Answers

Dan Ridley
PLUS
Dan Ridley
Courses Plus Student 14,839 Points

Hey Ronando Long

I am sorry you are having difficulty. I am going to tag Nick Pettit and Allison Grayce Marshall to see if we can help work through this.

I will also be happy to let the teaching team know about your ideas to expand the section to be a little more specific.

Dan

James Barnett
James Barnett
39,199 Points

Ronando Long - Are you stuck on a particular code challenge?

If so, help us, help you by posting:

  • a link to the code challenge
  • the instructions of the step you are having issues with
  • the code you have so far
Amy Coulson
Amy Coulson
4,804 Points

Adaptive Layouts are built using Media Query breakpoints yes, but it only looks good on SPECIFIC devices because it is not built using the fluid method.

Responsive uses em and % fluid layout as the foundation in conjunction with Media Query breakpoints to ensure the site looks good on ANY device.

Thanks Amy. You said, "Adaptive Layouts. ...not built using the fluid method." But in this video she says (at 1:38) "Since we built the website on a fluid layout, we don't have to target both of these dimensions seperately. The fluid layout will scale with the viewport size. So, we'll take the higher of the two..." where she talks about the phone and tablet pixel sizes and then launches into the Adaptive layout. So, if what you say is true, it's the opposite of what Allison is saying. Keep in mind the section is "Adaptive Design >> Finding Your Breakpoints."
http://teamtreehouse.com/library/websites/build-a-responsive-website/adaptive-design/finding-your-breakpoints

Again, not complaining about Allison. Simply stating that this video series is fast and confusing. She goes on to say that Adaptive doesn’t cover every single resolution your site might be viewed on, like Responsive websites do and that Responsive focuses on delivering the site on one seamless experience to all resolutions and handhelds rather than device specific, but I'm still not seeing the difference. They both adjust when the browser size changes and they both accommodate tablets and phones. The differentiation is not clear, even though I haven't hit the Responsive section yet. It would be good to have the clarification before getting there to avoid the distraction of questioning the difference.

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi Ronando Long,

I couldn't agree more. Responsive Design is a moving target, and the material has changed quite a lot since the course was first created. The current material also moves a little too quickly. For both of those reasons, I'm hoping to update the course myself. Unfortunately, I probably won't be able to update it until very late this year or early next year. Sorry about that! I'm consumed with other upcoming projects that are still too early in development to put on our Roadmap. :)

As a more general note: Allison has moved on from Treehouse to pursue a career in freelance design and we wish her the best! If you have any trouble with her content, just ping me in the forum and I'll help as soon as I can. :)

Erick Bongo
Erick Bongo
8,539 Points

I agree, just started this section myself and was wondering why buttons suddenly appear on the contact us link. It turns out after going through the project code that the button on that link is created in a different way than was previously taught as well, either that or I missed something.

Arrghh... See! See! I'm not crazy. Just because there are a couple voices in my head doesn't mean something's not jiving with the code. ...in Denmark! ...unless Dave can hear the voices in my head too.

And thanks for the response Nick. I think I'll just skip this one Adaptive/Responsive section, even though it is an important one, and hit it up later or elsewhere once I have my knowledge base built up.

James Barnett
James Barnett
39,199 Points

Ronando Long - Hopefully this diagram clears up the differences between adaptive and responsive design

adaptive vs responsive design diagram

Thanks James. That helps a bit.

Amy Coulson
Amy Coulson
4,804 Points

I think I need to rethink the definition of both AWD vs RWD.

In AWD it is device defined breakpoints. The con is that you can only target so many different devices before your code gets overloaded and complicated. There is way too many device sizes nowadays.

Whereas...

In RWD it is content defined breakpoints. You start with the a site in it's simplest form and starting from a small mobile device setting, you start expanding the site till it starts looking bad, add a breakpoint and style it till it looks good again. You then continue on all the way up to your largest screen size that you want to design for. This is the Mobile First method and is designed in the browser.

Please tell me if I'm on the right path for those who who the difference.

Erick Bongo
Erick Bongo
8,539 Points

lol Ron,I was hearing voices but they were mainly cursing at the video !!!

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi Amy Coulson,

Sorry for the slow reply. Yes, what you're saying is correct. Keep in mind that this is all fairly new terminology, so the definitions may vary depending on the source. :)