Basic HTML and HTML5 - Create a Form Element

Tell us what’s happening:
Describe your issue in detail here. i really dont know what to do

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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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.freecatphoto.com/submit-cat-photo"> 
  <input type="cat photos URL"
 </form>
</main>

Your browser information:

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

Challenge: Basic HTML and HTML5 - Create a Form Element

Link to the challenge:

First thing here is you are missing the ending > for your input, and the directions say to nest the “existing” input. Not create a new one, where is the unput that the challenge started you out with?

Next, the action link is not correct. Look at the link the challenge gives you to use, and look at what you are using

so now im just left with the input should be nested in the form element

You need to use the original input the challenge started you out with. In your original code it looks like you deleted it. I would reset the lesson to get it back

would reseting the lesson reset everything ive done till this challenge ?

It would reset only this challenge

thank you for your help man just finished it. hopefully i wont be needing help in the future but i probably will haha.

1 Like

Glad you got it working. Asking for help is just part of programming, and its better to ask when you first run into an issue instead of driving yourself crazy trying to figure it for a long period of time

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