--- id: bad87fee1348ce8acef08814 title: Warn Your Users of a Dangerous Action with btn-danger challengeType: 0 forumTopicId: 18375 --- # --description-- 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. # --hints-- You should create a new `button` element with the text "Delete". ```js assert(new RegExp('Delete', 'gi').test($('button').text())); ``` All of your Bootstrap buttons should have the `btn` and `btn-block` classes. ```js assert($('button.btn-block.btn').length > 2); ``` Your new button should have the class `btn-danger`. ```js assert($('button').hasClass('btn-danger')); ``` All of your `button` elements should have closing tags. ```js assert( code.match(/<\/button>/g) && code.match(/

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
``` # --solutions-- ```html

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back. Three kittens running towards the camera.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```