Learn HTML by Building a Cat Photo App - Step 48 can u see what I missed out here pls I must be missing smthing

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <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>
      <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" name="indoor">indoor</label>
          <label><input id="outdoor"type="radio" name="outdoor">outdoor</label>
          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>
        </form>
      </section>
    </main>
  </body>
</html>

Your mobile information:

SM-T500 - Android 12 - Android SDK 31

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

Link to the challenge:

1 Like

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to the forum @Laseywebb

Both radio buttons should have a name attribute with the value indoor-outdoor.

Each name attribute needs to have the same value.

Happy coding

1 Like

Well im following YouTube videos and i have tried to find why its not accepting its saying that the name needs value to indoor outdoor i checked spelling of indoor outdoor did i do it wrong? Please show me where i got it wrong

Hello! As well, I notice there is not any space between the value of one here and the next attribute.

It requires a space after the indoor and before type.

Thank u i found the solution thanks to @Teller

2 Likes

Thank u im glad u pointed that out for me

Please check off the solution to give Teller credit, and let others know of your success?

Happy coding!

1 Like

U to and thanks again

Id be careful about copying YouTube videos too much!

No need to worry about that too much, mods mark it if needed

Or im just blind lol

True. But it never hurts for us to provide that extra sense of gratitude by marking it solved by the person who provided he solution.

1 Like

Ok, but you don’t need to tell people to do it

:+1: good heads up, thank you

1 Like