Step 43 radio button confusion

I’ve been bootcamping all day seems like. Okay I’ve seen the radio button option but I’m getting confused as to apply one for the text Indoor

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

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

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

    </form>

  </section>

</main>

Learn HTML by Building a Cat Photo App: Step 43 | freeCodeCamp.org

1 Like

What are you trying to accomplish? What do the failing tests say?

This is not valid HTML.

I needed to put

<input type="radio"> Indoor

prior to the input type text. it finally clicked. thank you

1 Like

its not showing the embedded coding lol but I typed it out

Good job working through the problem! Happy coding.


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

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