Learn HTML by Building a Cat Photo App - Step 42

I don’t know what the change I must do here

  **Your code so far**
      <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>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <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>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <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>  
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

The instructions I see when I click on the challenge link are:
Add a button element with the text Submit below the input element.

Is that the one you meant to ask about?

No, that instructions is in step 41. and on the step 42 where I have no clues how to complete is

Add a button element with the text Submit below the input element. The default behavior of clicking a form button without any attributes submits the form to the location specified in the form’s action attribute.

The link above is wrong… please post a new link to the challenge you are actually on.

yeah I justchecked it right now, wait. sorry’

this is the right link


The steps say:

Add the type attribute with the value submit to the button to make it clear that it is a submit button.

Can you try that?


is this correct:

oh no, the forum read it as a code. I dont jknow where and how to put a type attribute

This is a line of code you wrote in an earlier step.

Do you see how the input element has attributes defined like type in the opening tag?

So when someone says to add an attribute to an element, I want you to refer to this line and write the type attribute in the same format.

(And be careful how you spell things and match the case.)

Please try again.

1 Like

ohhh now I know. when it says “add an attribute” I must put an input first
thank youu

No . That was not what I meant at all.

waittt sorry. I don’t know it yet


this is not the correct code too

done already. I already get it. thankyou

Can you plz send me the correct ans of step 42

Hi there,

Please do not ask for solutions to fCC problems. We are happy to help you if you open a new topic (click Ask For Help if you have tried to pass a challenge and need support or post a new topic on the forum for other questions)
We want you to succeed by building up your coding brain and not by teaching you to copy-paste.

Thank you…

thanks. I was stuck in this problem and you just helped me out without spilling all the answers.

1 Like

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