Learn HTML by Building a Cat Photo App - Step 47

where am I making mistake i am a beginner :
I am stuck on step 47 what should I do ?

  **MY 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">
     <label for="Indoor"></label> <label><input id="Indoor" type="radio" name="Indoor-Otdoor"> Indoor</label>
        <label for="Outdoor"></label> <label><input id="Outdoor" type="radio" name="Indoor-Outdoor">Outdoor</label>

        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 12; SM-T733) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

I am editing this cause i completed this step it was so simple i was fretting for no reason.

thank you @admit8490 @hartatociptajaya for helping me out.

Looks like you added some unneseccary code here I suggest to reset the step, so we will have this:

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

And your task is

Add the name attribute with the value indoor-outdoor to both radio buttons.

So if you have specific questions how to do it or about any part of this task, please ask.

Hi, please, next time when you post your question, provide it with a question.
Asking a better question will help you understand your current situation.

I suggest you to redo this lesson so you’ll have better understanding. Here is how:

  1. The instruction is asking to add an attribute and value
  2. You don’t need a new label
  3. Place it inside your attribute and value in each input as it is told by the instruction

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