Basic HTML "Create a form" - can't work it out - Very new

I’m very new to this and I can’t quite figure out the issue, it must be something simple.

The error is attributed to" Your form should have an action attribute which is set to"**

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action="/"> <input type="text" placeholder="cat photo URL"></form>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi there! Take a really close look at what’s in the action attribute – does it match exactly?

Just remove / at the starting from the link /

Then your code should look like this

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

Hello! thank you, it’s resolved now. Much appreciated. I was confused as the example has a “/” :


I should have checked thank you again.

1 Like

That’s great, thankyou for your help. Much appreciated.