# Learn HTML by Building a Cat Photo App - Step 37

**URL:** <https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-37/541812>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [August 12, 2022, 1:47am UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-37/541812 "2022-08-12T01:47:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emickypero](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/emickypero/32/240316_2.png) [@Emickypero](https://forum.freecodecamp.org/u/Emickypero)\
**Post date:** [August 12, 2022, 1:47am UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-37/541812/1 "2022-08-12T01:47:36Z")

</div>

**Tell us what’s happening:**  
Describe your issue in detail here.

how do I start to create a type attribute?  
**Your code so far**

```html
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    </section>
    <section>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
      <ul>
        <li>cat nip</li>
        <li>laser pointers</li>
        <li>lasagna</li>
      </ul>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      </figure>
      <h3>Top 3 things cats hate:</h3>
      <ol>
        <li>flea treatment</li>
        <li>thunder</li>
        <li>other cats</li>
      </ol>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      </figure>
    </section>
    <section>
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
        <input> 
      </form>
    </section>
  </main>
</body>
</html>

```

```
  **Your browser information:**

```

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15`

**Challenge:** Learn HTML by Building a Cat Photo App - Step 37

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-37)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![bbsmooth](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bbsmooth/32/203556_2.png) [@bbsmooth](https://forum.freecodecamp.org/u/bbsmooth)\
**Post date:** [August 12, 2022, 2:23am UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-37/541812/2 "2022-08-12T02:23:02Z")

</div>

Adding a `type` attribute is similar to adding any other attribute, such as the `action` attribute you added on the opening `<form>` tag. The format is:

```auto
name="value"

```

Where you replace `name` with the name of the attribute and `value` with the value you want the attribute to have.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [February 10, 2023, 2:23pm UTC](https://forum.freecodecamp.org/t/learn-html-by-building-a-cat-photo-app-step-37/541812/3 "2023-02-10T14:23:11Z")

</div>

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