Solve problem "Warn your Users of a Dangerous Action" online - Learn Python 3 - Snakify

Lesson: Responsive Design with Bootstrap

Warn your Users of a Dangerous Action

Bootstrap comes with several pre-defined colors for buttons. The btn-danger class is the button color you'll use to notify users that the button performs a destructive action, such as deleting a cat photo.

Create a button with the text "Delete" and give it the class btn-danger.

Note that these buttons still need the btn and btn-block classes.


The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.