Please help +use the value attribute Checkboxes+

Tell us what’s happening:
Please someone help me I don’t know where I am wrong
/ running tests said One of your checkboxes should have the value attribute of energetic /

Thank you so much

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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://www.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" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>

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

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

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

    energetic </label>

       

    <br>

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

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

  </form>

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

Link to the challenge:

Hi @Mei120536 !

Welcome to the forum!

Please provide the link to the lesson so we know what you are working on.

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

thank you so much @jwilkins.oboe , have you seen my code show yet?

I can see your code but I don’t know what lesson you are on.

Please paste the link for the challenge so I can assist you.

This is my challenge link please help me

Link to the challenge:

The problem is here

You won’t supposed to change the capitalization there.
It was supposed to be capital E

Excellent thank you so much for your help it’s work.

1 Like

go read entire code. you will notice that with entergetic value you dont have energetic after vale closing before end of that code

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