Form Creating i

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


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

<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form  action="/https://www.freecatphotoapp.com/submit-cat-photo"> <input type="url" placeholder="Cat Photo URL"> </form>



</main>
  **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.

No.1:
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.

No.2:
The url in the action attribute is incorrect.

Here are the instructions again.
and assign "https://www.freecatphotoapp.com/submit-cat-photo" 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.

Regards

Waqar

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.