# Make sure you have nested all HTML elements in .container-fluid

**URL:** <https://forum.freecodecamp.org/t/make-sure-you-have-nested-all-html-elements-in-container-fluid/142936>\
**Category:** General\
**Created:** [August 21, 2017, 5:24am UTC](https://forum.freecodecamp.org/t/make-sure-you-have-nested-all-html-elements-in-container-fluid/142936 "2017-08-21T05:24:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfrancois0508](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@bfrancois0508](https://forum.freecodecamp.org/u/bfrancois0508)\
**Post date:** [August 21, 2017, 5:24am UTC](https://forum.freecodecamp.org/t/make-sure-you-have-nested-all-html-elements-in-container-fluid/142936/1 "2017-08-21T05:24:00Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```auto
<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>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<div class="container-fluid">

<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>

<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>

```

**Your browser information:**

Your Browser User Agent is: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36`.

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/use-responsive-design-with-bootstrap-fluid-containers](https://www.freecodecamp.org/challenges/use-responsive-design-with-bootstrap-fluid-containers)

---

<div class="post-metadata">

**Author:** ![Mohamed-Mahgoub](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mohamed-mahgoub/32/62526_2.png) [@Mohamed-Mahgoub](https://forum.freecodecamp.org/u/Mohamed-Mahgoub)\
**Post date:** [August 21, 2017, 5:35am UTC](https://forum.freecodecamp.org/t/make-sure-you-have-nested-all-html-elements-in-container-fluid/142936/2 "2017-08-21T05:35:39Z")

</div>

Your missing task is “Make sure you have nested all HTML elements in .container-fluid”, You should make sure that both “h2” and “p” tags included within your container. Now your “div” tag between “p” and “a” tag , and “h2” and “p” tags are not included in the container.

---

<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 17, 2021, 9:37am UTC](https://forum.freecodecamp.org/t/make-sure-you-have-nested-all-html-elements-in-container-fluid/142936/3 "2021-01-17T09:37:49Z")

</div>

Closed on January 17, 2021, 9:37am UTC


