Drop-down button problem

Hey ya’ll! I’ve been having trouble with the creation of drop-down button in codepen.
The script :
"div class=“dropdown”>
button class=“btn btn-primary dropdown-toggle” type=“button” data-toggle=“dropdown”>Dropdown Example
span class=“caret”>
ul class=“dropdown-menu”>
/div “” Should create simple dropdown with 3 (HTML/CSS/JS) buttons, but for some odd reason It’s not generating the 3 buttons only the actual “Dropdown Example” button. I changed bootstrap to v3, but still no luck.


Which version of bootstrap are you using?

There have been some changes between versions 3 and 4. See here for more details.

It would be easier to assist if you posted a link to your pen.


Did you include jQuery and bootstrap.js too?