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-website/advanced-techniques/flexible-videos-with-fitvidjs-2

Hello I seem to be unsuccessful several times in trying to complete this module. I have passed every other module in the advanced techniques even the ones after but can not seem to get past this one. If any one has any suggestions please feel free to share your thoughts.

<!DOCTYPE html>
<html>
<head>
        <link href='style.css' rel='stylesheet' type='text/css'>
        <link href='https://fonts.googleapis.com/css?family=Nunito:400,300,700' rel='stylesheet' type='text/css'>
    </head>
<body>
    <div class="container">
        <div class="grid_6 omega">
      <!-- it tells you to give a div tage a 
                ID that the javascript is calling below which is
                " featured-video " but whenever i specify this it
                    says that this is incorrect -->

            <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>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script src="jquery.fitvids.js"></script>
    <script>
      $(document).ready(function(){
        $("#featured-video").fitVids();
      });
</script>
James Barnett
James Barnett
39,199 Points

That's an impressive abuse of the tagging feature.

To get a better idea of how tags should be used check out pineapple.io's FAQ and read the section titled A word about tags

ha sorry bud, wasn't trying to offend you but do you have any suggestions? I do believe i have appropriate syntax but i could be wrong

1 Answer

fitvid