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 Build a Responsive Website Advanced Techniques Flexible Videos with FitVid.js

Jamie Bradley
Jamie Bradley
7,148 Points

What's wrong with my code? :(

I watched the video twice, and I can't see how the code I've written is incorrect. I tried creating a new div for the video with the proper ID, as well as adding the ID to the iframe, grid 6 div and container div, and nothing worked. Please tell me what I'm missing? My code is pasted below: <div class="container"> <div class="grid_6 omega"> <div id="featured-video"> <iframe src="http://player.vimeo.com/video/50610288?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0"></iframe>
</div> </div>

</div>

3 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

all we can see of your code is the closing div tag.

Jamie Bradley
Jamie Bradley
7,148 Points

Okay, I can see my code when I open the window, but I'm clearly doing something wrong. Can I send a screen shot?

Andrew McCormick
Andrew McCormick
17,730 Points

yeah, I get frustrated with trying to post code on here. Seems the markdown only works when you stand on one leg and cluck a chicken.
you can send a link to a screen shot if you have somewhere to upload it to, but I don't think you can post one directly

btw, I just did the challenge you are stuck on and it worked.
without being able to see your code: Make sure you are adding the id to the div containing the iframe (the div immediately above the iframe). And make sure you are formatting it correctly. So it would look like <div class="someclass' id='someID'> Also make sure you are not including the '#' from the css selector in your id. id="someID' NOT id='#someID'