2018-10-04 14:47:55 +01:00
|
|
|
---
|
|
|
|
title: Call out Optional Actions with btn-info
|
|
|
|
---
|
2019-07-24 00:59:27 -07:00
|
|
|
# Call out Optional Actions with btn-info
|
2018-10-04 14:47:55 +01:00
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
---
|
|
|
|
## Problem Explanation
|
2018-10-14 21:50:27 +05:30
|
|
|
This challenge requires you to create a new block level `<button>` element with some required classes.
|
2018-10-04 14:47:55 +01:00
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
|
|
|
|
---
|
|
|
|
## Hints
|
|
|
|
|
2018-10-14 21:50:27 +05:30
|
|
|
### Hint 1
|
2018-10-04 14:47:55 +01:00
|
|
|
|
2018-10-14 21:50:27 +05:30
|
|
|
The new button should be below the like button.
|
|
|
|
|
|
|
|
### Hint 2
|
|
|
|
|
|
|
|
The button should have at least 3 classes.
|
|
|
|
|
|
|
|
### Hint 3
|
|
|
|
|
|
|
|
The button should have the classes of `btn`, `btn-block` and `btn-info`.
|
|
|
|
|
|
|
|
|
2019-07-24 00:59:27 -07:00
|
|
|
|
|
|
|
---
|
|
|
|
## Solutions
|
|
|
|
|
|
|
|
<details><summary>Solution 1 (Click to Show/Hide)</summary>
|
2018-10-14 21:50:27 +05:30
|
|
|
|
|
|
|
Add the following line of HTML below the like button to complete the challenge:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<button class="btn-info btn-block btn">Information</button>
|
|
|
|
```
|
2019-07-24 00:59:27 -07:00
|
|
|
</details>
|