The value attribute in HTML

Hi guys I’m doing an exercise in the code camp basic html course which teaches how to use the value attribute. Do you mind helping me by pointing out what is wrong with this code? thanks!

<label for="outdoor"><input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">outdoor</label>

  <label for="indoor"><input id="indoor" value="indoor" type="radio" name="indoor-outdoor">indoor</label>

  <label for="energetic"><input id="energetic" value="energetic" type="checkbox" name="energetic">energetic</label>

  <label for="loving"><input id="loving" value="loving" type="checkbox" name="loving">loving</label>

  <label for="lazy"><input id="lazy" value="lazy" type="checkbox" name="lazy">lazy</label> (this is nested within a form)
<label for="outdoor">

  <input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">outdoor</label>

  <label for="indoor">

  <input id="indoor" value="indoor" type="radio" name="indoor-outdoor">indoor</label>

  <label for="energetic">

  <input id="energetic" value="energetic" type="checkbox" name="energetic">energetic</label> <input id="loving" value="loving" type="checkbox" name="loving">loving</label>
  <label for="lazy">
  <input id="lazy" value="lazy" type="checkbox" name="lazy">lazy</label>

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It 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 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 (’).