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

<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>

   <input type="radio" name="indoor-outdoor" value="Indoor">
   <input type="radio" name="indoor-outdoor" value="outdoor">
   <input type="checkbox" name="indoor-outdoor" value="loving">
   <input type="checkbox" name="indoor-outdoor" value="lazy">
   <input type="checkbox" name="indoor-outdoor" value="energetic">

  </form>
</main>

I passed the challenge, in the instructions it said to pass all the values must be in lowercase

you have not added a value…

My bad, I wasn’t paying attention. The values should be lowercase.

2 posts were split to a new topic: New to the forum!

I am still not getting it and worse part is that the code gets confusing to arrange.

reset the lesson, change the existing code instead of adding new lines

your issue is that the tests do not recognise the extra code you are adding and expect you to change what’s already there

Hope am not going to start all over again if i reset?

You can just copy&past things right?

Yes i can copy and paste things.

then just copy past your code in notepad our whatever before reset?

I have tried severally to copy and paste but showing cut and copy and more reason i type a code all over again to fix a correction like this. i copied and paste in a notepad and have reset it. Now to paste it back has become a problem

then copy past it here onto the forums :3

in the starting code there are some radio and checkbox elements, they are missing a value attribute and the only thing you need to do is to add the value attribute to the existing radio and checkbox elements

you don’t need to create new checkboxes or radio elements - also the tests are expecting you to fix the existing ones to show you understand how to add the value attribute

okay thanks you are a life saver.

awesome!! happy coding

But not that i have solved the code:blush:

post your current code, and what tests you are not passing, let’s see

<label type="checkbox" name="indoor-outdoor" value='loving'>
<label type="checkbox" name="indoor-outdoor" value='lazy'>
    <label type="checkbox" name="indoor-outdoor" value='energetic'>