Learn HTML by Building a Cat Photo App - Step 42

Tell us what’s happening:

Please help! I just can’t seem to see the error

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

<!-- User Editable Region -->

          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="Submit">
          </button>

<!-- User Editable Region -->

        </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/127.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 42

Hi there!
The instructions is asking you:
Add a button element with the text Submit.
You didn’t followed the starting instructions. And for the type attribute the value submit should be starts with lowercase letter.

1 Like

Hey Buddy Nice trial , You think in a good way, I appreciate your efforts too.

But you need to think here is we define type in input attribute.

Here we are using button element So you need to put the value Submit in another place.

Hope you understand.

even though I am not in this challenge. I don’t understand your explanation.

Do you have any problem ?

If you have then kindly share it with us.

no I don’t i just mean your explanation isn’t clear enough for anyone who might be stuck in this challenge might not understand totally. Nevermind anyway since i’m not stuck on catphotoapp.

Here instead of defining the solution , I told what the camper had done.

The simple answer is He need to remove the type attribute and it’s value from button tag.

2nd he needs to put the word Submit in between button element.

By reading this you will get to know what you need to do instead of thinking what you have done and what you need to do.

1 Like

Oh :hushed: :hushed: :hushed:,
I get it nau. Thanks for explaining and I believe others experiencing the same problem can find solutions to their problem. Thanks once again. :pray:t4: :+1:t4: :grinning:

1 Like