2018-10-12 15:37:13 -04:00
|
|
|
---
|
|
|
|
title: Apply the Default Bootstrap Button Style
|
|
|
|
---
|
2019-07-24 00:59:27 -07:00
|
|
|
# Apply the Default Bootstrap Button Style
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
---
|
|
|
|
## Problem Explanation
|
2019-01-22 21:22:31 -05:00
|
|
|
The last challenge had you creating 6 buttons, 3 in each well element. This time you are required to add classes to those buttons.
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
|
|
|
|
---
|
|
|
|
## Hints
|
|
|
|
|
|
|
|
### Hint 1
|
2018-10-12 15:37:13 -04:00
|
|
|
|
|
|
|
A class is declared using the following syntax:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<button class="class(es)Name"></button>
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
---
|
|
|
|
## Solutions
|
|
|
|
|
|
|
|
<details><summary>Solution 1 (Click to Show/Hide)</summary>
|
2018-10-12 15:37:13 -04:00
|
|
|
|
|
|
|
```html
|
|
|
|
<div class="container-fluid">
|
|
|
|
<h3 class="text-primary text-center">jQuery Playground</h3>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="well">
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="well">
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
<button class="btn btn-default"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
```
|
2019-07-24 00:59:27 -07:00
|
|
|
</details>
|