I need assistance with this challange

Tell us what’s happening:
Give each of the radio and checkbox inputs the value attribute. Use the input label text, in lowercase, as the value for the attribute.
The last three codes arent going right(loving,lazy and energetic)
while the first two(indoor and outdoor) seem fine.
i need help fixing this please.

Your code so far
Indoor
Outdoor

<input=“loving” type=“check box” name=“personality”> loving<loving

<input =“lazy” type=“checkbox” name=“personality”> lazy

<input =“energetic” type=“checkbox” name=“personality”> energetic


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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

you have changed the label text, you should not do that

I do not understand please

I think it’s better to reset the code first by clicking on Reset All Code. What you’re supposed to do in this challenge is add the value attribute to each radio and checkbox input. Something like this:

<label>
    <input type="checkbox" value="active"/>
    Active
</label>

The text inside the value attribute should match the text inside the input label tag, except in lowercase. Do not modify anything else: do not change the text inside the label tags, or change the type attribute of the inputs.

1 Like
loving</label>

<input type="checkbox" value="lazy">

lazy</label>
energetic</label>

i wrote the code exactly with the above format.
I got this resonse:
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 .

Please reset the challenge first by clicking on Reset All Code. This is the first step. The next step is to add the value attribute with the label text in lowercase. Don’t change anything else. If you still have problems, paste in all your code.