Tell us what’s happening:
What am I doing wrong here please? I have to restart each time I deep dive and get myself lost
**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://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">
<input ="https://www.freecatphotoapp.com"></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.212 Safari/537.36
.
Challenge: Create a Form Element
Link to the challenge:
You need to insert the right value for your action attribute. Also, take a look at your input element do you think that looks right
1 Like
Check the input
tag on the second last line. There is a syntax error in the attributes you are passing inside the tag. The attributes should take the form of [attribute]=[value]
so you can’t have =https://www.freecatphotoapp.com
value without the attribute.
Your input element should look something like this:
<input type="text" placeholder="cat photo URL">
1 Like
Roma
May 17, 2021, 3:00pm
4
In this lesson you were asked to Nest the existing input
element inside a form
element and assign “Thank You message for Cat Photo App form submission| freeCodeCamp.org ” to the action
attribute of the form
element.
You change the existing input
element and this causes the test to fail.
Try resetting the lesson and doing it again following the instructions.
Thank you that really helped me get this one done
system
Closed
November 16, 2021, 9:42am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.