Step 46 ID lining one under the other

Opera Snapshot_2022-06-19_231357_www.freecodecamp.org

Step 46
Nest another radio button with the option Outdoor in a new label element. The new radio button should be placed after the first one. Also, set its id attribute value to outdoor.

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

      
      <input type="text" name="catphotourl" placeholder="cat photo URL" required>
      <button type="submit">Submit</button>
    </form>
  </section>
</main>
Test Sorry, your code does not pass. Don't give up.

Hint
Your new radio element should have an id attribute with the value outdoor. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.

Maybe fixing the capitalization will help. Outdoor

Done that
also put Break at the end of first line

I think this is redundant.

HI @TonyMac !

If you still need help with the challenge, please write your latest code in the forum here so we can assist you.

Step 46
Nest another radio button with the option Outdoor in a new label element. The new radio button should be placed after the first one. Also, set its id attribute value to outdoor.

    <figure>
      <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>  
    </figure>
  </section>
  <section>
    <h2>Cat Form</h2>
    <form action="https://freecatphotoapp.com/submit-cat-photo">
    <label><input id="Indoor" type="radio"> Indoor</label>
     <label><input id="outdoor" type="radio"> outdoor</label> 

Test
Sorry, your code does not pass. You’re getting there.

Hint
Your new radio button and associated label should be below the first one. You have them in the wrong order.

I see two issues.

This is supposed to be lowercase

and this is supposed to be starting with an uppercase like mentioned earlier

I’ve replaced part of the code in the solution with this one, changed text outdoor to Outdoor (that is between the tags) and passed. So maybe you have some mistake that is outside this code.

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