I do not know what is wrong with the input text

<form action="https://www.freecatphotoapp.com/submit-cat-photo">
     <input type="text"></form>

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


You haven’t given us enough information to help you. What are you trying to do? What issues are you having? Do you have questions? Is there something you don’t understand? Are you getting errors?

I am supposed to nest the existing input element within a form element, but i have checked and its still not right

What is the complete code? Did you change the input element in any way?

Just in case it isn’t clear.

This is the existing input element:

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

This is your input element:

<input type="text">

As hinted at already you changed the input element and something is missing.

Thank you, i did omit somethings but with the complete element it worked fine.

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