Why is input wrong?

<label for="profile-picture">Profile Picture: <input id="profile-picture"></input></label>

Hi there. I don’t have enough context to answer your question. Is this related to a challenge on FreeCodeCamp? If so please use the ask for help button. It’s what the button is there for.

If not, please format your code with three backticks; three above and three below so it doesn’t become a part of you’d post.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I’ve edited your code 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 (').

Welcome to the forum @zyglewiczmagdalena

input elements are self closing so do not require a closing tag.

If this is from step 39 of the Registration Form challenge, one of the input elements may not have the correct id attribute mentioned in the instructions.

So the forum can assist, please post your full code.

Use the following method to post code to the forum:

  1. On a separate line type three back ticks.
  2. On a separate line paste your code.
  3. On the last line type three back ticks. Here is a single back tick `

Include the challenge, the step, and any error messages.

Happy coding