I don't know what to do now Nest the existing input element inside a form element and assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action at



  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

  <p>Things cats love:</p>


    <li>cat nip</li>

    <li>laser pointers</li>



  <p>Top 3 things cats hate:</p>


    <li>flea treatment</li>


    <li>other cats</li>


  <input type="text" placeholder="cat photo URL">


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 (’).

It looks like you’ve just copy-pasted your code without any context. Can you please tell use what you would like help with? What are you trying to accomplish? What part isn’t working correctly? What have you tried so far?

put the <input> inside a <form></form> tag
and assign the relevant url to the form method.

Include a link to the actual problem so that anyone helping can actually read through it.

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