Form Creating i

**Hi, Could somebody help in checking the last lines of code starting with i couldnt pass this, please guide.

<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="url" 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/90.0.4430.93 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi @cewaqar !

Welcome to the forum!

Two issues.

You changed the input when you weren’t supposed to.
This is incorrect.

Reset the lesson and use the input provided for you.
Don’t change it.

The url in the action attribute is incorrect.

Here are the instructions again.
and assign "" to the action attribute of the form element.

Hope that helps!

Thank you Jwilkins.oboe,

I even tried with < input type=“text”> instead of url, and url without /, it did not work with chrome, the same code with type text and url as you mentioned works in Opera.



I was able to pass the test in chrome.
The correct input is this

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

Not < input type=“text”>

So it possible that when you tried it in Opera you didn’t make any typos.

I am glad you were able to solve the challenge.

In the future, it is always best to just copy and paste the urls from the instructions instead typing it out.

Sure , Thank you for your time and guidance.

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