WeCodeAcademy

Bootstrap Alerts, Badges and Progress

Examplehtml
Open in editor »

Click the close button on the red alert: dismissing it uses Bootstrap's JavaScript (data-bs-dismiss), which is why the bundle script is included.

Quick check

Which attribute makes an alert dismissible with the close button?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.