A question on action attribute

Hi fellas!
I am new to freecodecamp and have been working on my first html project, Cat Photos, when it asked me to add an action attribute to a form tag, I wrote this:

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

it keeps giving me an error message reading:
Sorry, your code does not pass. Keep trying.

Your form element should have an action attribute with the value https://freecatphotoapp.com/submit-cat-photo.
although i did as said. any idea what is going on?

I’ve edited your code 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 (').

Welcome to the forum @seragpython
Spot the typo.

Happy coding

Thank you guys, that was killing me, actually taught me the mistake could be there but out of your sight, i checked everything, but a missing letter!
thanks all

1 Like

so, like this:

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

will stick to that, thanks.