Intro to HTML: Help Needed

Tell us what’s happening:

Struggling to complete this instruction: The existing input element should be nested within a form element.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input>
</form>
<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>
<input type="text" placeholder="cat photo URL">
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Create a Form Element

Link to the challenge:

More info about input and how to create forms.

https://www.w3schools.com/html/html_forms.asp

Remember - search engine is programmer’s best friend (to find manuals and examples).

resolved, but don’t know how to delete post

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.