Learn HTML by Building a Cat Photo App - Step 46

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

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">

<!-- User Editable Region -->

    <label><input type="radio" id="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 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

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

Link to the challenge:

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

i cant add id attribute with value indoor how?

The value of the id attribute should be indoor (notice the lowercase i at the beginning).

Also, you accidentally removed the > at the end of the input tag.

And you completely removed the word Indoor between the input tag and the closing </label> tag.

It might be best to restart this step to get the original HTML back and then be careful to only add the id attribute and not change anything else.

1 Like

can you write the correct code? i cant got it literally confused

No, I can’t just give you the answer. That is frowned upon here.

My suggestion:

  • Restart the step to get the original HTML back.
  • Do not delete anything that is currently showing
  • Only add the id attribute with the value set to indoor to the opening input tag.

Those little details really make me lose control. Thanks for the help buddy!

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