Learn HTML by Building a Cat Photo App - Step 46

Tell us what’s happening:

I don’t know what to do. It asks you to put the id attribute in but I’ve tried different options and it just won’t be correct. Please help : (

Your code so far

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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">
          <label><input type="radio" > Indoor</label>

<!-- User Editable Region -->

          <label><input type="radio" id="indoors" > Indoor</label>

<!-- User Editable Region -->

          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 46

id=“indoor” inside the input element

I did that, it still won’t work.

<label><input type="radio" id="indoor"> Indoor</label>

this is the code I just did it with

It still didn’t work for me : (

Welcome to the forum @Asnnazar

You seem to have duplicated the code.

Please delete the first label element shown in the above code block.
Then remove the letter s from the id attribute value.

Happy coding

I tried, it still won’t work :frowning:

Nevermind! I figured it out! I had a space by accident <3