Learn HTML by Building a Cat Photo App - Step 44

Tell us what’s happening:
Describe your issue in detail here.
The code does not pass in order for me to submit I do not understand why?The Indoor radio button is supposed to appear on top of the text box

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

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

<!-- User Editable Region -->

          <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

delete this

(before you delete, look at the preview pane. Watch what happens when you delete it)

Hi @neosenoamadi84 ,
No need of adding Indoor before the input tag.

Just deleted it still gives the same issue

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

this is the code now however the preview does not make the radio button appear above the cat photo text box

I believe you should have a single space to the left of the word Indoor

The code you have there is correct. If your still getting “sorry your code did not pass” try resetting the lesson and re-enter your code as you have now.
Reset the lesson button
Screenshot 2023-01-29 at 14-50-51 freeCodeCamp.org

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