Having issues with the nesting lesson

<form action="/https://freecatphotoapp.com/submit-cat-photo>"

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

</form>

This is the code i have tried. I looked at videos and other forums and done exactly what they do and ive done this . It is still giving me the error message " The existing

input

element should be nested within a

form

element. Your

form

should have an

action

attribute which is set to

https://freecatphotoapp.com/submit-cat-photo

Please help

You have the closing angle bracket (>) before the closing quote (").

ArielLeslie,

I have switched the symbols but am still getting the same error about the action attribute . Any more suggestions?

What is your current full code?

JermeyLT, here it is


<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">


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

  </form>

 </main>

You have a / before https in your form:

<form action="/https://freecatphotoapp.com/submit-cat-photo">

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

Okay I will do that in the furture for further questions, thanks.

Gordon, I change what you suggested and it worked. Thanks for the help, I was stuck on that for forever.

No worries :slight_smile: It’s always just one, tiny thing in the wrong place, isn’t it?

Gordon, Its been many tiny things in the wrong place. First days are always the hardest but luckily this community is awesome and very helpful!