Values are nested correctly, yet failing all 5 instances

Lesson : ## Basic HTML and HTML5: Use the value attribute with Radio Buttons and Checkboxes

I’ve read through at least 5 previous posts on this and see the errors - value is in it’s own tag, missing, etc.

I’ve been looking at this so much I am becoming frustrated, so it’s time to ask for help.

Why are my values not being accepted? They look exactly like the given examples (in formatting).

It is best to provide your code instead of a screenshot.

I thought I remembered reading that but I don’t see a way to do it. I’ll investigate.
Thanks

Do I just copy paste? I thought there was like a widget or tool or something

You can, copy and paste in code. 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 (’).

Thank you. I thought maybe it needed the line numbers.

<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">
  
    <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor">indoor</label>

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

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

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

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

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

    <button type="submit">Submit</button>
  </form>
</main>

you have changed the label text, it wasn’t all lowercase

The text that would display? I had changed it as a test since I could find nothing that made sense to change.

If that’s the case, then it’s throwing an error because it didn’t match their format exactly, not because the code didn’t accomplish the task. CodeAcademy does that, too. It can be discouraging!

I don’t know if it’s the only thing but this was in the starting code Indoor</label>, and having changed that make the test not pass

tests can’t be totally flexible, it would make impossible to test all edge cases, tests would become too complex. Generally changing something that you are not asked to change could make the tests fail.

if you fix that for all five input elements and still doesn’t pass please post your updated code and what errors you are getting

Fair point.

Errors:

// running tests

One of your radio buttons should have the value attribute of indoor.

One of your radio buttons should have the value attribute of outdoor.

One of your checkboxes should have the value attribute of loving.

One of your checkboxes should have the value attribute of lazy.

One of your checkboxes should have the value attribute of energetic.

// tests completed

<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">
    <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
    <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
    <label for="loving"><input id="loving" type="checkbox" name="personality"> Loving</label>
    <label for="lazy"><input id="lazy" type="checkbox" name="personality"> Lazy</label>
    <label for="energetic"><input id="energetic" type="checkbox" name="personality"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>

now there is not the value attribute in any of the inputs