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

Cannot Pass FitVid.js Code Challenge

I can't pass the code challenge here which I strongly believe I've made the correct coding by adding <div id="featured-video"> before the iframes and closing it with </div>.

Is it a system faulty?

3 Answers

Here's a hint, you don't need to add another div.

The code challenge is fine (just tested it), you're not reading the formulation/title right. I could give you the answer but it's always better if you figure it out, which I'm sure you will after re-reading the exercise :)

Hint: you don't have to add a new element.

Finally just worked this one out!

Very annoying! I wasn't aware that a DIV could have a class and an ID. This should be made clearer earlier on really.

I wasn't aware that a DIV could have a class and an ID.

That's covered in the CSS Foundations course

Check out the learn HTML & CSS learning adventure for the order the courses were designed to be taken in.

Sorted it now :)