HTML- Use the value attribute with Radio Buttons and Checkboxes

Tell us what’s happening:
It says that it’s wrong, but I’ve tried everything, I even searched for a video that gave me the solution but It was wrong.
I have been stuck here for 4 hours and don’t get the solution

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://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"value="indoor" name="indoor-outdoor"> Indoor</label>
  <label><input type="radio"value ="outdoor" name="indoor-outdoor">Outdoor</label>
    
 <label><input type="checkbox"name="personality" value"Energetic">Energetic</label>
 <label><input type="checkbox"name="personality" value"Lazy">Lazy</label>

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

<input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

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

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes

You’re missing a = after `value.

The “loving” one is technically correct, but the test can’t “find” that input because its label should be Loving

2 Likes
<input type="checkbox"name="personality" value="Energetic">Energetic</label>
 <label><input type="checkbox"name="personality" value="Lazy">Lazy
1 Like