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 trialSteve Leichman
7,008 PointsFitVid ID Issue in Code Challenge
I'm stumped on this one. The directions are:
Using the unique ID defined within the fitvid script, add the appropriate code to the div that contains the embedded video so it scales with the fluid layout.
In the code, the unique ID defined within the fitvid script is "#featured-video"
When I wrap '''<div id="featured-video"></div>''' around the iframe code, I keep getting this error message: Bummer! Make sure you're adding the correct ID to the iframe's container.
2 Answers
Steve Leichman
7,008 PointsNever mind. Figured it out from an old post.
Steve Leichman
7,008 PointsThis got eliminated from the previous post (and the "edit" button isn't working), but I have <div id="featured-video"> before the iframe line and </div> directly after it.
Steve Leichman
7,008 PointsSteve Leichman
7,008 Pointsdiv id="featured-video" /div (with proper angeled html parenthesis - the code ticks aren't working in the comments and are just deleting it) is what's wrapped around the iframe code.