freeCodeCamp/guide/english/certifications/front-end-libraries/bootstrap/add-elements-within-your-bo.../index.md

859 B

title
Add Elements within Your Bootstrap Wells

Add Elements within Your Bootstrap Wells

In the last challenge, you had created a div with the well class, this challenge now requires you to add 3 button elements in each of the wells.

Hint

A button is declared as follows:

<button></button>

Solution

Since we have to declare 3 button in each well, we would do the following:

<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></button>
        <button></button>
        <button></button>
      </div>
    </div>
    <div class="col-xs-6">
      <div class="well">
        <button></button>
        <button></button>
        <button></button>
      </div>
    </div>
  </div>
</div>