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, i have problem with that.
Hey @sokeeye77!
When you have questions about a specific FCC challenge you should use the ask for help option in the challenge.
That way people will know what challenge you are referring to and will be better able to assist you.
The challenge you are referring to is this one.
Your first task is to create a form element like this
<form></form>
Then you will need to place that input tag inside the form like this.
<form>
<input type="text" placeholder="cat photo URL">
</form>
Then inside the form’s opening tag element you will need to set the action attribute to the url provided for you.
action="https://freecatphotoapp.com/submit-cat-photo"
Here is the final result
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
Hope that helps!
I really appreciate, thank you.
1 Like