Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Rick Oller9,072 Points
Stuck: Build a Responsive Website - Advanced Techniques
The question says: Using the unique ID defined within the fitvid script ("#featured-video"), add the appropriate code to the div that contains the embedded video so it scales with the fluid layout.
Im pretty sure its referring to something in this:
<div class="container"> <div class="grid_6 omega"> <iframe src="http://player.vimeo.com/video/50610288?title=0&byline=0&portrait=0" width="400" height="225" frameborder="0"></iframe> </div> </div>
I have tried changing the div class "grid_6 omega" to an div id "featured-video", didn't work. I have tried putting the id "featured-video" in the iframe tag, didn't work. I have tried changing the container so that it has the div id is "featured-video"
I dont think its an issue in the style.css...
Thank you everyone who took the time to read my question. Love the site so far. -Jackson
Chase Lee29,275 Points
Add this to the div with the classes
<div class="grid_6 omega" id="featured-video">