# Could Some Please Help Explain Style Text Inputs as Form Controls (#75) Problem?

**URL:** <https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963>\
**Category:** General\
**Created:** [January 31, 2018, 1:38pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963 "2018-01-31T13:38:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mebby](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mebby](https://forum.freecodecamp.org/u/mebby)\
**Post date:** [January 31, 2018, 1:38pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/1 "2018-01-31T13:38:16Z")

</div>

I got half of this lesson right, but can’t figure out how to solve with my current code  
—Add a within your submit button element and the.  
—Give the text input in your form the class form-control

Below is my code:

```auto

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  h2 {
    font-family: Lobster, Monospace;
  }

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

</style>

<div class="container-fluid">
  <div class="row">
    <div class="col-xs-8">
      <h2 class="text-primary text-center">CatPhotoApp</h2>
    </div>
    <div class="col-xs-4">
      <a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>
    </div>
  </div>
  <img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera. ">
  <div class="row">
    <div class="col-xs-4">
      <button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
    </div>
    <div class="col-xs-4">
      <button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
    </div>
    <div class="col-xs-4">
      <button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
    </div>
  </div>
  <p>Things cats <span class="text-danger">love:</span></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">
    <div class="row">
      <div class="col-xs-6">
        <label><input type="radio" name="indoor-outdoor"> Indoor</label>
      </div>
      <div class="col-xs-6">
        <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-4">
        <label><input type="checkbox" name="personality"> Loving</label>
      </div>
      <div class="col-xs-4">
        <label><input type="checkbox" name="personality"> Lazy</label>
      </div>
      <div class="col-xs-4">
        <label><input type="checkbox" name="personality"> Crazy</label>
      </div>
    </div>
    <input type="text" class=form control 
        placeholder="cat photo URL" required>
    
    <button type="submit" class="btn btn-primary">Submit
            <i class="fa-paper-plane"Submit</i></button>
  </form>
</div>

Thanks!
```

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 2:56pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/2 "2018-01-31T14:56:26Z")

</div>

You forgot the `"`s around the class name and you have a typo in it.

---

<div class="post-metadata">

**Author:** ![mebby](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mebby](https://forum.freecodecamp.org/u/mebby)\
**Post date:** [January 31, 2018, 3:36pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/3 "2018-01-31T15:36:36Z")

</div>

Hi,

Thanks for answering.

I placed in the missing hypen for the form control . Is that the typo?

However, could you please show me the line where I forgot the "s around the class name because what I’m trying is still not working?

Thanks.

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 3:42pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/4 "2018-01-31T15:42:52Z")

</div>

When you add a class to an element it needs to be

```auto
<elementName class="classname">stuff</elementName>

```

Look at the places where you added a class and see if you can spot the difference.

---

<div class="post-metadata">

**Author:** ![mebby](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mebby](https://forum.freecodecamp.org/u/mebby)\
**Post date:** [January 31, 2018, 5:01pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/5 "2018-01-31T17:01:23Z")

</div>

Hi,

Oh, my goodness, I am so dumb. I see it. Thanks for your patience and help.

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 5:05pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/6 "2018-01-31T17:05:34Z")

</div>

What you just did is a huge part of the development project. 🙂

---

<div class="post-metadata">

**Author:** ![mebby](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mebby](https://forum.freecodecamp.org/u/mebby)\
**Post date:** [January 31, 2018, 5:58pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/7 "2018-01-31T17:58:25Z")

</div>

I know some of the questions that I ask probably sound stupid, but this is all completely new to me. I even got out a library book on bootstap and have been trying to help myself understand. The only problem is that some things the way they do things are different in the book. However, I truly appreciate any and all help because I want to really learn this. Thank you again so much!

---

<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 16, 2021, 6:04pm UTC](https://forum.freecodecamp.org/t/could-some-please-help-explain-style-text-inputs-as-form-controls-75-problem/171963/8 "2021-01-16T18:04:54Z")

</div>

Closed on January 16, 2021, 6:04pm UTC


