Tell us what’s happening:
Im confused as to how to complete this task.
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>
<input type="text" placeholder="cat photo URL">
</main>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
.
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.
A nested element is a tag inside another tag, for example:
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
The <li>
elements are nested inside the <ul>
tag
What the challenge is saying is you have to place the <input>
tag inside a <form>
tag, and also the <form>
tag has the action property that you have to add.
1 Like
I tried and im still getting it wrong
can you share your code plz
How do i do that. sorry im still really new to all this.
CatPhotoApp
Click here to view more cat photos .
Things cats love:
cat nip
laser pointers
lasagna
Top 3 things cats hate:
flea treatment
thunder
other cats
<form action="https://freecatphotoapp.com/submit-cat-photo"
<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>
Sky020
November 8, 2020, 10:14pm
9
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
1 Like
the first >
is missing in the form
before
<form action="https://freecatphotoapp.com/submit-cat-photo"
after
<form action="https://freecatphotoapp.com/submit-cat-photo">
1 Like
Thank you so much for helping me!! Your a life saver!!
1 Like
glad to help, keep up the good work!
Thanks!! and Please dont go to far!!
1 Like