# freeCodeCamp Challenge Guide: Taste the Bootstrap Button Color Rainbow

**URL:** <https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323>\
**Category:** freeCodeCamp Contributors\
**Tags:** guide\
**Created:** [July 7, 2016, 10:58pm UTC](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323 "2016-07-07T22:58:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![camperbot](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/camperbot/32/18364_2.png) [@camperbot](https://forum.freecodecamp.org/u/camperbot)\
**Post date:** [July 7, 2016, 10:58pm UTC](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323/1 "2016-07-07T22:58:19Z")

</div>

# [Taste the Bootstrap Button Color Rainbow](https://www.freecodecamp.org/learn/front-end-libraries/bootstrap/taste-the-bootstrap-button-color-rainbow)

* * *

## Solutions

> **Solution 1 (Click to Show/Hide)**
>
> ```html
> <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
> <style>
> .red-text {
> color: red;
> }
> 
> h2 {
> font-family: Lobster, Monospace;
> }
> 
> p {
> font-size: 16px;
> font-family: Monospace;
> }
> 
> .thick-green-border {
> border-color: green;
> border-width: 10px;
> border-style: solid;
> border-radius: 50%;
> }
> 
> .smaller-image {
> width: 100px;
> }
> </style>
> 
> <div class="container-fluid">
> <h2 class="red-text text-center">CatPhotoApp</h2>
> 
> <p>Click here for <a href="#">cat photos</a>.</p>
> 
> <a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
> 
> <img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera.">
> <button class="btn btn-primary btn-block">Like</button>
> <p>Things cats love:</p>
> <ul>
> <li>cat nip</li>
> <li>laser pointers</li>
> <li>lasagna</li>
> </ul>
> <p>Top 3 things cats hate:</p>
> <ol>
> <li>flea treatment</li>
> <li>thunder</li>
> <li>other cats</li>
> </ol>
> <form action="/submit-cat-photo">
> <label><input type="radio" name="indoor-outdoor"> Indoor</label>
> <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
> <label><input type="checkbox" name="personality"> Loving</label>
> <label><input type="checkbox" name="personality"> Lazy</label>
> <label><input type="checkbox" name="personality"> Crazy</label>
> <input type="text" placeholder="cat photo URL" required>
> <button type="submit">Submit</button>
> </form>
> </div>
> 
> ```

---

<div class="post-metadata">

**Author:** ![anon52159105](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anon52159105](https://forum.freecodecamp.org/u/anon52159105)\
**Post date:** [August 6, 2017, 11:34pm UTC](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323/2 "2017-08-06T23:34:46Z")

</div>

Closed on August 6, 2017, 11:34pm UTC



---

<div class="post-metadata">

**Author:** ![camperbot](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/camperbot/32/18364_2.png) [@camperbot](https://forum.freecodecamp.org/u/camperbot)\
**Post date:** [August 10, 2019, 1:22am UTC](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323/3 "2019-08-10T01:22:05Z")

</div>

Opened on August 10, 2019, 1:22am UTC



---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 7, 2025, 12:00pm UTC](https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-taste-the-bootstrap-button-color-rainbow/18323/4 "2025-01-07T12:00:14Z")

</div>

Closed on January 7, 2025, 12:00pm UTC


