Confusing on Form Action

Tell us what’s happening:

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://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=" submit-cat-photo"> <input type="text"> </form>

I’m a bit confused on using form action. I try Safari, Chrome, and Firefox, but still wouldn’t allow me to consider it complete. Am I missing something?

Thanks

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0.

Challenge: Create a Form Element

Link to the challenge:

Hey @charlie12brown
Welcome to FCC Forum.

You have missed the link

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

Please make sure that you type or copy the full link, not just the keyword.

You have deleted some code.

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

You have a extra code too

Please make these changes.

Thank and Happy Coding

the action attribute should contain this full url
"https://freecatphotoapp.com/submit-cat-photo"
not just submit-cat-photo

Thank you guy on the tip,

I got the rest figure out but for some reason I couldn’t figure out whether it’s the well verse open or close that I’m stuck on. Can you guy speculate this part a bit?

Thank you guys!

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

Hey @charlie12brown
1.You have to change the link to full link as given in the lesson.
2. you have delete some code that was given in the lesson please reset the lesson and try again not to delete the code.
3. you have some extra code which you have typed.please remove it.

I started over on the entire form action but, I got the top 2 correct except the closing part for some reason. Basically, it mentioned only the well verse or open is missing out. I just don’t know which it can be.

Please give your full code. So we can see the mistake.

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

You should not capitalize on the code. Code should not be capital at all

See it the form tag

I change it to lower case but the answer still show the same result.

What it is saying ?

Please give your full code not just a line

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

not sure what this is.

1 Like
<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"<"submit-cat-photo"> <input type="text" placeholder="cat photo URL"></form>

</main>

I try the back tick but it show the entire solution

The reason why your code is not working is because you have added extra characters that should not be there.

Delete the < symbol and the submit-cat after it.

I’m just making a new forum, I think that would be a better solution,.

no, don’t make a duplicate post, please keep using this thread

Thank you, it work. On the deleting part.

1 Like