---
id: bad87fee1348bd9aec908846
title: Create a Bootstrap Headline
challengeType: 0
---
## Description
Now let's build something from scratch to practice our HTML, CSS and Bootstrap skills.
We'll build a jQuery playground, which we'll soon put to use in our jQuery challenges.
To start with, create an h3
element, with the text jQuery Playground
.
Color your h3
element with the text-primary
Bootstrap class, and center it with the text-center
Bootstrap class.
## Instructions
## Tests
```yml
tests:
- text: Add a h3
element to your page.
testString: assert($("h3") && $("h3").length > 0, 'Add a h3
element to your page.');
- text: Make sure your h3
element has a closing tag.
testString: assert(code.match(/<\/h3>/g) && code.match(//g).length === code.match(/h3 element has a closing tag.');
- text: Your h3
element should be colored by applying the class text-primary
testString: assert($("h3").hasClass("text-primary"), 'Your h3
element should be colored by applying the class text-primary
');
- text: Your h3
element should be centered by applying the class text-center
testString: assert($("h3").hasClass("text-center"), 'Your h3
element should be centered by applying the class text-center
');
- text: Your h3
element should have the text jQuery Playground
.
testString: assert.isTrue((/jquery(\s)+playground/gi).test($("h3").text()), 'Your h3
element should have the text jQuery Playground
.');
```
## Challenge Seed
## Solution
```html
jQuery Playground
```