Bootstrap - Use Responsive Design with Bootstrap Fluid Containers

Tell us what’s happening:
Describe your issue in detail here.
im struggling to figure out what the objective is or figure out how to get there

  **Your code so far**
<div class="container-fluid">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
</div>
<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>
<.container-fluid.>
<h2 class="red-text">CatPhotoApp</h2>
<.container-fluid.>
<p>Click here for <a href="#">cat photos</a>.</p>
<.container-fluid.>
<a href="#"><img class="smaller-image thick-green-border" src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<.container-fluid.>
<p>Things cats love:</p>
<.container-fluid.>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
<.container-fluid.>
</ul>
<.container-fluid.>
<p>Top 3 things cats hate:</p>
<.container-fluid.>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<.container-fluid.>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<.container-fluid.>
<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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63

Challenge: Bootstrap - Use Responsive Design with Bootstrap Fluid Containers

Link to the challenge:

The objective is:

All HTML elements after the closing styletag should be nested in .container-fluid

.container-fluid means element with class container-fluid

Just wrap up HTML stuff into div with such class, that’s all

you mean every line? do i put div with container fluid above and below each line or in between lines

no, not every line

opening tag goes after style tag
closing tag goes at the bottom of file

you only need one div, you don’t need bunch of them

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.