Recall & Review
beginner
What class in Bootstrap makes a dropdown open upwards?The class
dropup makes a dropdown open upwards instead of downwards.Click to reveal answer
beginner
How do you make a dropdown menu open to the right side in Bootstrap?
Use the class
dropend on the dropdown container to make the menu open to the right.Click to reveal answer
beginner
Which Bootstrap class makes a dropdown open to the left side?The class
dropstart makes the dropdown menu open to the left side.Click to reveal answer
beginner
What is the default dropdown direction in Bootstrap if no direction class is used?By default, dropdown menus open downwards below the toggle button.
Click to reveal answer
intermediate
Why might you want to use a dropup or dropstart dropdown in a webpage?
You use dropup or dropstart to avoid dropdown menus being cut off by the edge of the screen or to fit better in your page layout.
Click to reveal answer
Which Bootstrap class makes a dropdown open upwards?
✗ Incorrect
The
dropup class changes the dropdown direction to open upwards.If you want a dropdown menu to open to the left side, which class should you use?
✗ Incorrect
The
dropstart class makes the dropdown open to the left.What is the default direction of a Bootstrap dropdown menu?
✗ Incorrect
By default, dropdown menus open downwards below the toggle button.
Which class makes a dropdown open to the right side?
✗ Incorrect
The
dropend class makes the dropdown open to the right side.Why use dropdown directions like dropup or dropstart?
✗ Incorrect
Using dropup or dropstart helps keep dropdown menus fully visible and improves layout.
Explain how to change the direction of a Bootstrap dropdown menu and why you might want to do that.
Think about how dropdown menus can be blocked by screen edges.
You got /3 concepts.
Describe the difference between dropup, dropstart, and dropend classes in Bootstrap dropdowns.
Each class controls the side where the menu appears.
You got /3 concepts.