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

HTML Responsive Images Art Direction with the Picture Element The Picture Element

Is there a glitch on this challenge? I wrote this code: media=ยจ(orientation: landscape)ยจ

I followed the directions and referred to the video twice. This should be working, but it isn't.

1 Answer

Shawn Flanigan
PLUS
Shawn Flanigan
Courses Plus Student 15,815 Points

Paul,

Your code snippet is correct and passed the code challenge when I tried it. This should go inside the first source tag...I put it before the srcset attribute and it worked fine. Can you include the rest of the code so we can see if there are errors in the placement of this snippet or if something else is off?