Tell us what’s happening:
Your code so far
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://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://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15.
Challenge: Create a Form Element
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
There is an extra slash at the start of URL.
Welcome to the community!
1 Like
I removed and still saying your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo
Why did you remove action. By extra slash, I meant in the URL: /https://freecatphotoapp.com/submit-cat-photo
<!-- Invalid URL -->
/https://freecatphotoapp.com/submit-cat-photo
<!-- Valid URL -->
https://freecatphotoapp.com/submit-cat-photo
1 Like
thank you so much for the help I tried a few ways because I tried to search google to find the answer on my own but I got it now thanks so much for helping me much appreciated
1 Like
system
Closed
August 8, 2021, 6:30am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.