Well formed tags

After some time researching what the above referenced could possibly mean I have come to the decision that there is not adequate information as to what these are let alone how to write them…

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

Hi and welcome to the forum.

It looks like you accidentally deleted a bunch of automatically populated information from your post, which makes it harder for others to help based on the limited information you provided.


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

1 Like

It does look like your form element is not ‘well formed’, which is a fancy way of saying that the syntax is wrong.

If you are working on this challenge, you use this example to help you make a form element
image
If you are confused about nesting, it was introduced in this challenge
image

If you share your full code, I can help you better pinpoint what’s going on.

2 Likes

So am I to understand that I need to nest something in order to have well formed tags? I’m so sorry to be a pain, I have just never heard of this before.

Thanks again for your help
Rhonda

Which challenge are you working on? What’s your current full code? I’m just guessing here because you didn’t provide much info in your initial post.


The bit about nesting is in the instructions for the challenge instructions:

Nest the existing input element inside a form element and assign "https://freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

removing all attribures your elements look like:

<form <form><input></form>

that’s not well formed, look ar the form tags

1 Like

ok, this is everything in the code. the challenge is learning to create well formed tags. Again, thanks for any assistance.

Rhonda

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

</main>

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’m not sure what this code is?


This does not follow the provided example:

<form action="/url-where-you-want-to-submit-form-data"></form>

Specifically, you have a extra <form> in there, like @ilenia pointed out.

Thank you everyone for your help.

Rhonda

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