Please, I need help on how to do this

I need help on how to do this.
Your form should have an action attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo .

This is what I did.

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

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

  </form>

Lesson added my moderator:

Please do the following, it will help you to pass the challenge:

Mod Edit: SOLUTION REDACTED

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

1 Like

Thank you so much for this but I haven’t been able to solve my problem though. I’m still struggling here.

We will need to see your full code for the problem to be able to help.

1 Like

please provide us with your code pen link

Here:

<form action=/"https://www.freecatphoto.com/"submit-cat-photo.">

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

  </form>

That isn’t quite the entire code, but I’ll look once I can find the challenge link. It looks, at first glance, like you have misplaced / and " marks. There should be only one pair of quotes around the exact url you were given.


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

1 Like

Note : action=" www.url.com "

1 Like

I have edited your post.
Please refer to @JeremyLT 's post on how to write code into the forum.

Thanks!

2 Likes

Hi @Emj !

I edited your post to include the lesson so we can better assist you.

The url here is wrong.

Reread the instructions and use the correct url.
and assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

1 Like

If you don’t mind, kindly explain more because I don’t understand.

You wrote this

But the correct answer is this

Make sense?

1 Like

Thank you so much but it didn’t work.

We need to see your FULL code in order to help

action is an attribute that tells the form where to submit the data.
and it should be written like this->

<form  action= "www.example.com" target="_blank">
</form>
1 Like

put the full url under double quotes " " not just the last part of it , and it should work.

Hello There

Why don't you try removing the back slash on the beginning of https and in the ending of .com and put double quote

try this code

Mod Edit: SOLUTION REDACTED

As said above, please do not share solutions. Instead, help the OP fix their bugs.