--- id: bad87fee1348bd9aec908846 title: Create a Bootstrap Headline challengeType: 0 videoUrl: '' localeTitle: Crear un título de Bootstrap --- ## Description
Ahora vamos a construir algo desde cero para practicar nuestras habilidades HTML, CSS y Bootstrap. Construiremos un patio de juegos de jQuery, que pronto utilizaremos en nuestros desafíos de jQuery. Para empezar, crea un elemento h3 , con el texto jQuery Playground . Colorea tu elemento h3 con la clase Bootstrap de text-primary céntrala con la clase Bootstrap de centro de text-center .
## Instructions
## Tests
```yml tests: - text: Agrega un elemento h3 a tu página. testString: 'assert($("h3") && $("h3").length > 0, "Add a h3 element to your page.");' - text: Asegúrese de que su elemento h3 tenga una etiqueta de cierre. testString: 'assert(code.match(/<\/h3>/g) && code.match(/

/g).length === code.match(/

h3 element has a closing tag.");' - text: Tu elemento h3 debe colorearse aplicando la clase text-primary testString: 'assert($("h3").hasClass("text-primary"), "Your h3 element should be colored by applying the class text-primary");' - text: Tu elemento h3 se debe centrar aplicando el text-center la clase testString: 'assert($("h3").hasClass("text-center"), "Your h3 element should be centered by applying the class text-center");' - text: Tu elemento h3 debe tener el texto jQuery Playground . testString: 'assert.isTrue((/jquery(\s)+playground/gi).test($("h3").text()), "Your h3 element should have the text jQuery Playground.");' ```

## Challenge Seed
```html ```
## Solution
```js // solution required ```