--- id: bad87fee1348ce8acef08814 title: Warn Your Users of a Dangerous Action with btn-danger challengeType: 0 videoUrl: '' localeTitle: Advierta a sus usuarios de una acción peligrosa con btn-danger --- ## Description
Bootstrap viene con varios colores predefinidos para botones. La clase btn-danger es el color del botón que usarás para notificar a los usuarios que el botón realiza una acción destructiva, como eliminar una foto de gato. Crea un botón con el texto "Eliminar" y dale la clase btn-danger . Tenga en cuenta que estos botones aún necesitan las clases btn y btn-block .
## Instructions
## Tests
```yml tests: - text: Crea un nuevo elemento de button con el texto "Eliminar". testString: 'assert(new RegExp("Delete","gi").test($("button").text()), "Create a new button element with the text "Delete".");' - text: Todos los botones de Bootstrap deben tener las clases btn y btn-block . testString: 'assert($("button.btn-block.btn").length > 2, "All of your Bootstrap buttons should have the btn and btn-block classes.");' - text: Tu nuevo botón debe tener la clase btn-danger . testString: 'assert($("button").hasClass("btn-danger"), "Your new button should have the class btn-danger.");' - text: Asegúrese de que todos los elementos de sus button tengan una etiqueta de cierre. testString: 'assert(code.match(/<\/button>/g) && code.match(/
## Challenge Seed
```html

CatPhotoApp

Click here for cat photos.

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

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```
## Solution
```js // solution required ```