<h4 dir="auto">Responsively Style Checkboxes</h4>
<p dir="auto"><a href="https://www.freecodecamp.com/challenges/responsively-style-checkboxes" rel="nofollow">https://www.freecodecamp.com/challenges/responsively-style-checkboxes</a></p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">"Like", "Info" buttons are truncated and "delete" is cut off</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name, Version: Google Chrome, Version 50.0.2661.102 m</li>
<li>Operating System: Windows 10</li>
<li>Mobile, Desktop, or Tablet:</li>
</ul>
<h4 dir="auto">Your Code</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;link href=&quot;https://fonts.googleapis.com/css?family=Lobster&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
&lt;style&gt;
  h2 {
    font-family: Lobster, Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

&lt;/style&gt;

&lt;div class=&quot;container-fluid&quot;&gt;
  &lt;div class=&quot;row&quot;&gt;
    &lt;div class=&quot;col-xs-8&quot;&gt;
      &lt;h2 class=&quot;text-primary text-center&quot;&gt;CatPhotoApp&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class=&quot;col-xs-4&quot;&gt;
      &lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;img-responsive thick-green-border&quot; src=&quot;https://bit.ly/fcc-relaxing-cat&quot;&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;img src=&quot;https://bit.ly/fcc-running-cats&quot; class=&quot;img-responsive&quot;&gt;
  &lt;div class=&quot;row&quot;&gt;
    &lt;div class=&quot;col-xs-4&quot;&gt;
      &lt;button class=&quot;btn btn-block btn-primary&quot;&gt;&lt;i class=&quot;fa fa-thumbs-up&quot;&gt;&lt;/i&gt; Like&lt;/button&gt;
    &lt;/div&gt;
    &lt;div class=&quot;col-xs-4&quot;&gt;
      &lt;button class=&quot;btn btn-block btn-info&quot;&gt;&lt;i class=&quot;fa fa-info-circle&quot;&gt;&lt;/i&gt; Info&lt;/button&gt;
    &lt;/div&gt;
    &lt;div class=&quot;col-xs-4&quot;&gt;
      &lt;button class=&quot;btn btn-block btn-danger&quot;&gt;&lt;i class=&quot;fa fa-trash&quot;&gt;&lt;/i&gt; Delete&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;p&gt;Things cats &lt;span class=&quot;text-danger&quot;&gt;love:&lt;/span&gt;&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;cat nip&lt;/li&gt;
    &lt;li&gt;laser pointers&lt;/li&gt;
    &lt;li&gt;lasagna&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p&gt;Top 3 things cats hate:&lt;/p&gt;
  &lt;ol&gt;
    &lt;li&gt;flea treatment&lt;/li&gt;
    &lt;li&gt;thunder&lt;/li&gt;
    &lt;li&gt;other cats&lt;/li&gt;
  &lt;/ol&gt;
  &lt;form action=&quot;/submit-cat-photo&quot;&gt;
    &lt;div class=&quot;row&quot;&gt;
      &lt;div class=&quot;col-xs-6&quot;&gt;
        &lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;indoor-outdoor&quot;&gt; Indoor&lt;/label&gt;
      &lt;/div&gt;
      &lt;div class=&quot;col-xs-6&quot;&gt;
        &lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;indoor-outdoor&quot;&gt; Outdoor&lt;/label&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot;&gt; Loving&lt;/label&gt;
    &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot;&gt; Lazy&lt;/label&gt;
    &lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;personality&quot;&gt; Crazy&lt;/label&gt;
    &lt;input type=&quot;text&quot; placeholder=&quot;cat photo URL&quot; required&gt;
    &lt;button type=&quot;submit&quot;&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
&lt;/div&gt;"><pre class="notranslate"><code class="notranslate">&lt;link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"&gt;
&lt;style&gt;
  h2 {
    font-family: Lobster, Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

&lt;/style&gt;

&lt;div class="container-fluid"&gt;
  &lt;div class="row"&gt;
    &lt;div class="col-xs-8"&gt;
      &lt;h2 class="text-primary text-center"&gt;CatPhotoApp&lt;/h2&gt;
    &lt;/div&gt;
    &lt;div class="col-xs-4"&gt;
      &lt;a href="#"&gt;&lt;img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;img src="https://bit.ly/fcc-running-cats" class="img-responsive"&gt;
  &lt;div class="row"&gt;
    &lt;div class="col-xs-4"&gt;
      &lt;button class="btn btn-block btn-primary"&gt;&lt;i class="fa fa-thumbs-up"&gt;&lt;/i&gt; Like&lt;/button&gt;
    &lt;/div&gt;
    &lt;div class="col-xs-4"&gt;
      &lt;button class="btn btn-block btn-info"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt; Info&lt;/button&gt;
    &lt;/div&gt;
    &lt;div class="col-xs-4"&gt;
      &lt;button class="btn btn-block btn-danger"&gt;&lt;i class="fa fa-trash"&gt;&lt;/i&gt; Delete&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;p&gt;Things cats &lt;span class="text-danger"&gt;love:&lt;/span&gt;&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;cat nip&lt;/li&gt;
    &lt;li&gt;laser pointers&lt;/li&gt;
    &lt;li&gt;lasagna&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p&gt;Top 3 things cats hate:&lt;/p&gt;
  &lt;ol&gt;
    &lt;li&gt;flea treatment&lt;/li&gt;
    &lt;li&gt;thunder&lt;/li&gt;
    &lt;li&gt;other cats&lt;/li&gt;
  &lt;/ol&gt;
  &lt;form action="/submit-cat-photo"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-xs-6"&gt;
        &lt;label&gt;&lt;input type="radio" name="indoor-outdoor"&gt; Indoor&lt;/label&gt;
      &lt;/div&gt;
      &lt;div class="col-xs-6"&gt;
        &lt;label&gt;&lt;input type="radio" name="indoor-outdoor"&gt; Outdoor&lt;/label&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;label&gt;&lt;input type="checkbox" name="personality"&gt; Loving&lt;/label&gt;
    &lt;label&gt;&lt;input type="checkbox" name="personality"&gt; Lazy&lt;/label&gt;
    &lt;label&gt;&lt;input type="checkbox" name="personality"&gt; Crazy&lt;/label&gt;
    &lt;input type="text" placeholder="cat photo URL" required&gt;
    &lt;button type="submit"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
&lt;/div&gt;
</code></pre></div>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/16688620/15788268/92ba4174-29be-11e6-8eb3-ab06c948ff30.PNG"><img src="https://cloud.githubusercontent.com/assets/16688620/15788268/92ba4174-29be-11e6-8eb3-ab06c948ff30.PNG" alt="capture" style="max-width: 100%;"></a></p>
<h4 dir="auto">Possible Fix</h4>
<p dir="auto">You can  use btn-group which allows you to create a group of buttons next to each other we use btn-group btn-group-justified to take up the full width. W3 link - <a href="http://www.w3schools.com/bootstrap/bootstrap_button_groups.asp" rel="nofollow">http://www.w3schools.com/bootstrap/bootstrap_button_groups.asp</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  &lt;div class=&quot;btn-group btn-group-justified&quot;&gt;
    &lt;a href=&quot;#&quot; class=&quot;btn btn-primary&quot;&gt;&lt;i class=&quot;fa fa-thumbs-up&quot;&gt;&lt;/i&gt; Like&lt;/a&gt;
    &lt;a href=&quot;#&quot; class=&quot;btn btn-primary&quot;&gt;&lt;i class=&quot;fa fa-info-circle&quot;&gt;&lt;/i&gt; Info&lt;/a&gt;
    &lt;a href=&quot;#&quot; class=&quot;btn btn-primary&quot;&gt;&lt;i class=&quot;fa fa-trash&quot;&gt;&lt;/i&gt; Delete&lt;/a&gt;
  &lt;/div&gt;"><pre class="notranslate"><code class="notranslate">  &lt;div class="btn-group btn-group-justified"&gt;
    &lt;a href="#" class="btn btn-primary"&gt;&lt;i class="fa fa-thumbs-up"&gt;&lt;/i&gt; Like&lt;/a&gt;
    &lt;a href="#" class="btn btn-primary"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt; Info&lt;/a&gt;
    &lt;a href="#" class="btn btn-primary"&gt;&lt;i class="fa fa-trash"&gt;&lt;/i&gt; Delete&lt;/a&gt;
  &lt;/div&gt;
</code></pre></div>
<p dir="auto">Or use btn-block to put each button on a new line.</p>
<p dir="auto">Forewarning, this <em>may</em> be bike-shedding worthy....</p>
<h3 dir="auto">Workspace</h3>
<p dir="auto">User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36</code>. (Chrome on Windows 7)</p>
<h3 dir="auto">Setting</h3>
<p dir="auto">The CatPhoto is where you make an web page and one component is adding three buttons like below.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2754821/14199337/7156ec7e-f798-11e5-864c-49dd8c334c40.png"><img src="https://cloud.githubusercontent.com/assets/2754821/14199337/7156ec7e-f798-11e5-864c-49dd8c334c40.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Problem</h3>
<p dir="auto">But then you will eventually make it into something like this below.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2754821/14199333/641738c0-f798-11e5-9464-43c6de465704.png"><img src="https://cloud.githubusercontent.com/assets/2754821/14199333/641738c0-f798-11e5-9464-43c6de465704.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Notice that the red Delete button is squished and on the side (this is mostly a desktop problem; mobile user won't have the same issue -- see below)</p>
<h4 dir="auto">Mobile Version</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2754821/14199436/364c3a70-f799-11e5-98af-7dbe7da0fbb1.png"><img src="https://cloud.githubusercontent.com/assets/2754821/14199436/364c3a70-f799-11e5-98af-7dbe7da0fbb1.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Solution</h3>
<p dir="auto">So I propose two things:</p>
<ul dir="auto">
<li>Change the "Delete" button into a "Edit" button so it'll fit on the button better.
<ul dir="auto">
<li>This is fairly easy. You'll just need to change this in the challenge seeds starting with the challenge <a href="https://www.freecodecamp.com/challenges/warn-your-users-of-a-dangerous-action" rel="nofollow">Warn your Users of a Dangerous Action</a> where the button is added.</li>
<li>Then change the challenges up until the last one on <a href="https://www.freecodecamp.com/challenges/line-up-form-elements-responsively-with-bootstrap" rel="nofollow">Line up Form Elements Responsively with Bootstrap</a>.</li>
<li>You could also change the icon if appropriate.</li>
</ul>
</li>
<li>Add new challenge to add in making all three of those buttons also have the class <code class="notranslate">btn-sm</code> to make the text inside the button not seem all smushed.
<ul dir="auto">
<li>This one will require a little more effort in making an entirely new challenge, which may be unnecessary.</li>
</ul>
</li>
</ul>
<p dir="auto">Example:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;button class=&quot;btn btn-block btn-info btn-sm&quot;&gt;&lt;i class=&quot;fa fa-info-circle&quot;&gt;&lt;/i&gt; Info&lt;/button&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-info btn-sm</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">fa fa-info-circle</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">i</span><span class="pl-kos">&gt;</span> Info<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">If the proposed changes were made, the finished app will look like this:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2754821/14199509/e3e483d6-f799-11e5-8983-b02a50d68da7.png"><img src="https://cloud.githubusercontent.com/assets/2754821/14199509/e3e483d6-f799-11e5-8983-b02a50d68da7.png" alt="image" style="max-width: 100%;"></a></p>