I dont know whats wrong here

Tell us what’s happening:
Describe your issue in detail here.

  **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>
<input type="text" placeholder="cat photo URL">
<form action=""https://www.freecatphotoapp.com/submit-cat-photo">
<input>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPad; CPU OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/99.0.4844.59 Mobile/15E148 Safari/604.1

Challenge: Create a Form Element

Link to the challenge:

HI @fernanda.barrantes !

Welcome to the forum!

It looks like you have two inputs and a couple of syntax errors.

I would reset the lesson.

First off, you need to use the input they gave you and wrap your form tags around that.
Do not create a new input.
This is wrong.

Secondly, this is the correct syntax for a form

<form action="url goes here">
existing input goes here
</form>

Hope that helps! :slight_smile:

This is the existing input you need to use instead of creating a new one

  <input type="text" placeholder="cat photo URL">

Thank you so much. God bless you :slightly_smiling_face:

1 Like

Glad you were able to solve it :slight_smile:

As a friendly tip for future posts, you can write code directly into the forum instead of posting screenshots like this: :arrow_down:

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 (’).

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