Why do I have the following note

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

why do I get the following note?

existing input element should be nested within a form element. Your form element should have well-formed open and close tags.

I think you forgot to put the closing tag (>) at the end for form element.

Without seeing your complete code all anyone can do is guess.

Here are instructions for adding your code to the forum

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


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.

Thank you.

@Khalednagy I edited your post so we can see the code.

You are missing the closing > for the starting form tag. You also didn’t use the existing input element as was asked for.

The existing input element should be nested within a form element.

Challenge:

Thanks a million. You solved the problem for me. I do appreciate it.

1 Like

I’m guessing that this is not the existing input element that was in the freeCodeCamp code.

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