Learn HTML by Building a Cat Photo App - Step 48

Tell us what’s happening:

Step 48 learn html by building a cat photo app. i dont see whats wrong everything seems fine but its giving an error

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 name="Indoor" type="radio" id="indoor"> Indoor</label>
<label><input name="Outdoor" type="radio" id="outdoor" name="Outdoor"> Outdoor</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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 48

1 Like

Try to edit "name=“indoor-outdoor” both of them in if that works.

You name attribute value should start with lowercase letter and remove extra name attribute and value from the input outdoor

it did not work mabey an another way

post your updated code here using three back ticks (```) in separate line below and above your code block

it did not work mabey an another way

find this → </> option for adding back ticks to your post. Then paste your code between them.

@frycraftt123 For the radio buttons to check only one button at a time, both radio buttons must have same value for the name attribute inside the input tag.
Mod edit: removed
Once, both the input radio elements will have same “name” value, a user can select only one radio button at a time.


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.