Its keeps saying " The existing input element should be nested within a form element"can someone help say if there is somethin wrong in my code(im a begginer)

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

Can you please link to your code so we can have a look for you

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

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

Hi @pelonome.xd !

Welcome to the forum!

In the future,

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

But for now, you are supposed to wrap the form tags around the input.

<form>
EXISTING INPUT GOES HERE
</form>

sure

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