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

General Discussion

Konrad Pilch
Konrad Pilch
2,435 Points

Ordering my site

HI,

So i was just thinking, how can i order, or name or make the names of this? so its clean and nice?

         <ul class="nav navbar-nav navbar-right">
           <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Courses<span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="#">HTML/Bootstrap</a></li>
                <li><a href="#">CSS</a></li>
                <li><a href="#">JS/jQuery</a></li>
                <li><a href="#">WordPress</a></li>
                <li><a href="projects.php">Projects</a></li>
              </ul>
            </li>
            <li><a href="">Blog</a></li>
            <li><a href="">Resources</a></li>
            <li><a href="">Solved Coding Challenges</a></li>
            <li><a href="">Quizz</a></li>
            <li><a href="">Digital Literacy</a></li>
            <li><a href="">Get in touch</a></li>
         </ul>

I mean just the names such as blog, resources etc..

1 Answer

Bryce Santos
Bryce Santos
11,157 Points

Maybe create drop down to condense some of those into each other? Say... Resources would have a drop down to Digital Literacy and The solved Coding Challenges would drop down from Quiz?

Or maybe something like this if you just want an order, but I think it all comes down to personal preference in my opinion.

            <li><a href="">Blog</a></li>
            <li><a href="">Quizz</a></li>
            <li><a href="">Solved Coding Challenges</a></li>
            <li><a href="">Digital Literacy</a></li>
            <li><a href="">Resources</a></li>
            <li><a href="">Get in touch</a></li>