Bootstrap dropdowns use JavaScript to toggle the visibility of the menu when the user clicks the button. CSS alone cannot handle this interactive behavior.
Bootstrap modals require JavaScript to listen for button clicks and toggle the modal's visibility. Without JavaScript, clicking the button does nothing.
Bootstrap's carousel needs JavaScript to cycle through images and respond to navigation controls. Without it, only the first image is visible and buttons do nothing.
The Collapse component uses JavaScript to expand or collapse content sections when triggered by user clicks. Other components are static and styled by CSS only.
Bootstrap's JavaScript adds ARIA roles and manages keyboard focus to ensure components are usable by screen readers and keyboard-only users, improving accessibility.
