I can't pass the test, help please

Hello, can anyone help me please, i am blocked with this test

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.
Challenge: Create a Form Element

Link to the challenge:

Hey! So you’ve already been given the input and what you need to do now is nest that with a form. Once you have done that you then need to add an action parameter to the form using the link provided in the challenge.

At the end it should look something like this:

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

Hi lemonvonmelons

The test is pretty self explanatory - the code you’re after is this.

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

Hi @lemonvonlemons !

Welcome to the forum!

The answer has been provided for you but in the future please include your code.

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.

Hi @jonathankerr and @MichaelChad !

I have edited your code to include the spoiler tags since it is a working answer.

In future, please don’t hand out answers but instead help guide the user and point out the errors they made in their own code.


1 Like

Hey @jwilkins.oboe thanks a lot, my bad :grinning:

1 Like

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