How to do existing element nest

Nest the existing input element inside a form element and assign "" 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.

ask for help

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


Then you will need to place that input tag inside the form like this.

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

Then inside the form’s opening tag element you will need to set the action attribute to the url provided for you.


Here is the final result

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

Hope that helps!

I really appreciate, thank you.

1 Like