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 Sass Basics Write Smart and Efficient CSS with Sass Nesting Media Queries

Sean Flanagan
Sean Flanagan
33,235 Points

Did I do this right?

Hi.

At the end of the video, Guil invited us to nest our media queries and change the pixel values to breakpoint variables.

I gave this a shot. Have I done this right?

Here's a snapshot of my workspace:

https://w.trhou.se/pvwzjt056y

Thanks, merry Christmas and happy New Year!

Sean

2 Answers

Krist贸f Dombi
Krist贸f Dombi
28,047 Points

Sean Finegan it seems like to me, that you have done this task right. I only looked into the _containers.scss file. Were there media quries somewhere else as well?

Kristof

Sean Flanagan
Sean Flanagan
33,235 Points

To be honest, so much time has passed since I posted here that I've forgotten. There's a media query in _images.scss.

Thanks for your help.

Sean

Krist贸f Dombi
Krist贸f Dombi
28,047 Points

Sean Flanagan, sorry I haven't been logged in for a while.