What wrong in the 46

looks like you have Indoor written instead of outdoor also you can write your code like this so people on the fourm can read it without having to look at a screenshot

1 Like

also if you can, in the future, leave a link to the challege, to make it easier for the person helping you.

i had to change all my <> with () when writing a comment. thanks for the advice

1 Like

shoutout to @jwilkins.oboe for making this gif lol

1 Like

i try to invert them, but cant resolve.

now the error is this:
Your new radio button and associated label should be below the first one. You have them in the wrong order.

i already try to swith position for both
indoor and outdoor.
but nothing.
:sweat:

link your code please

yeah.

restart the challenge
make another radio button below the one that says indoor, but give it the options outdoor,

make sure the radio button is nested in a label. just like the one above is.

the reason why you wanna nest it in a label is so that you can click the label name and it will check the box.

:tired_face:
i dont know why doesen’t work

@Avie watch this gif… it will show you how to link your code in the fourm.
that way i can see what exactly you’re doing wrong

 <h1>CatPhotoApp</h1>
    <main>
      <section>
        <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>
      </section>
      <section>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul>
          <li>cat nip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </ul>
        <figure>
          <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>  
        </figure>
        <h3>Top 3 things cats hate:</h3>
        <ol>
          <li>flea treatment</li>
          <li>thunder</li>
          <li>other cats</li>
        </ol>
        <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> 
          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>

change the o in outdoor to a capital. but only the part in your label. leave the id outdoor alone

notice how the I in indoor is capital?

1 Like

thank u so much.
now i can continue the course

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