Problem facing in css

as i m facing problem in css- Use an id Attribute to Style an Element in this

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"</form> <input type="text" placeholder="cat photo URL">
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Are you on the “Create a Form Element” or the “Use an id Attribute to Style an Element” challenge? You are talking about one challenge, but your code is for a different challenge.

For the form, you are missing the closing > on the opening form tag and the input element is not inside the form element.

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <!-- input element goes here -->
</form>


I m facing problem in second one
i have
already use the code

The id on the form is cat-photo-form not cat-photo-element. Change your selector so it is using the correct id.

thnku so much :smile: