Learn HTML by Building a Cat Photo App - Step 47

Tell us what’s happening:
I can’t get past this step. I’ve tried multiple times. Any hint, suggestions on how to get this step resolved?

  **Your code so far**
<html>
<body>
  <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>
      <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"><input name = "Indoor-outdoor"</label>
        <label><input id-"outdoor" type="radio"<input naem="Indoor-Outdoor"</lable>
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
      </form>
    </section>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

Hey! Looks like it’s simply a case of a couple of spelling and syntax errors. I can see a “-” where it should be a “=” and i see the word “name” spelled incorrectly. Once you tidy that up it should work!

Oh, also capitalising the content of your “name” indentifier will make it not pass the tests. The two names should bothbe the same as each other so the radio button can only select one.

PS I spotted another spelling mistake: the word “label”

I did that and its still not working! the same error

Hi sorry for the late reply. I think what you’re doing wrong here is capitalising some things but not others, but it’s hard to see now without seeing the full code. In the original code you posted there was a difference in your two “indoor-outdoor” names.

If you make sure there’s no capitalisation where there shouldn’t be and it still doesn’t work, please paste the whole code so we can see what’s going on.

Thanks!

thank you I was able to get it.

1 Like