Problem with nesting

Hi, I just started learning htlm form the very beginning and got stuck on this. I am supposed to nest the existing input element inside a form element and assign "https://freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.
So I did

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

why is it wrong.

you need to show your code for it to be possible to answer your question

Sorry!
I did

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

why it is not good

that’s weird, I typed the code but it is not showing in my post,

The forum uses HTML for posts, so if you just write HTML without putting it in a code block it will try to render it.

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 have added / at the beginning of the url, it shouldn’t be there

1 Like

Thank you so much! now it works