# I don't know exactly where the type attribute goes

**URL:** <https://forum.freecodecamp.org/t/i-dont-know-exactly-where-the-type-attribute-goes/218056>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [August 15, 2018, 2:07pm UTC](https://forum.freecodecamp.org/t/i-dont-know-exactly-where-the-type-attribute-goes/218056 "2018-08-15T14:07:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathieu01](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mathieu01/32/98839_2.png) [@mathieu01](https://forum.freecodecamp.org/u/mathieu01)\
**Post date:** [August 15, 2018, 2:07pm UTC](https://forum.freecodecamp.org/t/i-dont-know-exactly-where-the-type-attribute-goes/218056/1 "2018-08-15T14:07:27Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```html

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

  .silver-background {
    background-color: silver;
    }
  
</style>

<h2 class="red-text">CatPhotoApp</h2>
<main>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
  
  <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>
  
  <div class="silver-background">
    <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>
  </div>
  
  <form action="/submit-cat-photo" id="cat-photo-form">
  
    <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
    
    <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
    <label><input type="checkbox" name="personality" checked> Loving</label>
    <label><input type="checkbox" name="personality"> Lazy</label>
    <label><input type="checkbox" name="personality"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
    
  </form>
  
</main>

```

**Your browser information:**

User Agent is: `Mozilla/5.0 (X11; CrOS x86_64 10323.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.209 Safari/537.36`.

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-attribute-selectors-to-style-elements)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![shimphillip](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/shimphillip/32/158663_2.png) [@shimphillip](https://forum.freecodecamp.org/u/shimphillip)\
**Post date:** [August 15, 2018, 2:09pm UTC](https://forum.freecodecamp.org/t/i-dont-know-exactly-where-the-type-attribute-goes/218056/2 "2018-08-15T14:09:54Z")

</div>

It goes between your style tags.

Follow the example given and change type=“radio” to checkbox then continue with the instructions.

---

<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:** [March 9, 2021, 10:54am UTC](https://forum.freecodecamp.org/t/i-dont-know-exactly-where-the-type-attribute-goes/218056/3 "2021-03-09T10:54:46Z")

</div>

Closed on March 9, 2021, 10:54am UTC


