Learn HTML by Building a Cat Photo App - Step 37

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

Having trouble entering a text value with type inside and input

  **Your code so far**
      <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>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <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>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <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>  
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
<input "text"<type>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Recall that an HTML attribute is a keyword that you can add inside the HTML opening tags. And that the keyword gives the browser information that it needs to function properly. Examples of attributes that you have seen before are:


used in the img tag like this

<img src="link to my image">


which is used in an achor tag like this

<a href="this is a link">Click Me!</a>


which is used in a form tag like this

form action="https://freecatphotoapp.com/submit-cat-photo">

These are all HTML attributes.
Please associate this word “attribute” then to keywords that are added to the start tag and that usually have a value following them (keyword=“value”)

Now, if someone ask you to create a type attribute inside the input tag, what should you do? (answer: exactly the same as all the above examples but with different keyword and value)

hope this helps

1 Like

i figured it out! Now i’m working on step 43

Step 43

You can use radio buttons for questions where you want only one answer out of multiple options.

Here is an example of a radio button with the option of cat: <input type="radio"> cat. Remember that input elements are self-closing.

Before the text input, add a radio button with the option set as:


<input type="radio"> Indoor name="catphotourl" placeholder="cat photo URL" required>

1 Like

great! If you need help for another step, click on “ask for help” button inside the specific step and it will create a help template for you to put any code or question there.

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