Help understanding .dropdown-toggle class and it's purpose


#1


https://www.codecademy.com/courses/web-beginner-en-seyrq/0/4?content_from=make-an-interactive-website%3Ajquery-effects

I'm trying to clarify dropdown-toggle class. This class is not defined the CSS file. Is this class created for the More link to reference it in the Jscript?


<a href="#" class="dropdown-toggle">More <b class="caret"></b></a>
            <ul class="dropdown-menu">


#2

Hi @ccahuber13,

The .dropdown-toggle class is part of Bootstrap, a CSS and JavaScript framework to make web development easier. One of the tools it provides is an easy way to create a dropdown menu, with the .dropdown-toggle class, which it will style, and, if you use Bootstrap's JavaScript as well, add functionality to as well (although in this course, we did the functionality ourselves).


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.