Can anyone help me with the code cant figure out what im doing wrong with the </form>

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Challenge: Create a Form Element

Link to the challenge:

Hi
I don’t see that you close the tag.

<!--
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL"> 
</form>
-->

and maybe you need a submit button there too. not sure which challenge you are talking about.
good luck.

Hi @Schneur_Sanowicz !

As @fawazar mentioned, this is the tag that is missing the > at the end.

Hi @fawazar !

Welcome to the forum!

I have edited your post so now we can see the code you are referring to.

The submit button is not required for this challenge.

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

I’ve tried to put the code LOL.
Not sure how to make it a blank text so it’ll appear. Anyway you’ve done it.
I am new here :slight_smile:
good luck.

No worries.
Now you will know for next time.

Also, I have added spoiler tags around your code since it is a full working solution.

Hi.
thanks for letting me know.

// testing the readability

I hope this works. I am a screen reader user. (visual things not my thing Haha!)
thanks for the edit.

1 Like

thanks i miss these small details sometimes which make all the difference really appreciate your time

1 Like