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 Framework Basics Prototyping with Bootstrap Build a Dropdown Menu

Html CSS fRAMEWORK

What could be wrong here?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Ribbit - A Treehouse Project</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="css/bootstrap-theme.min.css" rel="stylesheet" media="screen">
  </head>
  <body>

    <!-- Navbar -->
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand text-muted" href="#">Ribbit</a>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav navbar-right">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">About Ribbit</a></li>
            <li>
              <a data-target="#">Treehouse<b class="caret"></b></a>
              <ul classs="dropdown-menu">
                <li><a href="#">About Treehouse</a></li>
                <li><a href="#">Video Library</a></li>
                <div class="divider"></div>
                <li><a href="#">Learning Adventures</a></li>
                <li><a href="#">Plans &amp; Pricing</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div><!-- End navbar -->

    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>

5 Answers

Please see my answer to your question here: https://teamtreehouse.com/community/css-framework-basics

To solve Bootstrap framework related questions, it is good to use the Bootstrap docs such as those: http://getbootstrap.com/components/

Patrick Koch
Patrick Koch
40,498 Points

Hi Ary de Oliveira,

its really hard so say, with just index file, but the first thing I always check is the console, to see if all sources like bootstrap.min.js, css, jquerry,.... are included right. Just open the developertools and check the console tabs, if something is not right directed, there are gonna be errors.

I hope I could help, If you need further help, just let me know

g patrick

Hi , Patrick Tried, view challenge and encode your way, perhaps you will may be able to find the answer? maybe .It seems to me, you have good analogy of the problem. And I'll keep trying to solve here I will see the video again, i may ask Guil Hernandez for help...

Thanks... please try to solve Thank you

Ben Chadwick
Ben Chadwick
4,836 Points

Just quickly scouting over the markup, on line 26 you have a small mistake with the attribute spelling of class.

But as Patrick says, its really difficult to judge with solely the index file present.

Thank you Patrick, I tried your alternative, I can not see the error ...

Still no work class thank you...

I wonder really and if someone tried to resolve the issue .... and found the answer ... I'm already on the fourth day trying to ...

I will send it to Harold Finch ... the machine my have the answer ... ahhhh