How to solve:"Radio Buttons and Checkboxes"

I tried all but I really don’t know how to: " Give each of the radio and checkbox inputs the value attribute. Use the input label text, in lowercase, as the value for the attribute."



Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
indoor outdoor
loving lazy energetic
Submit **

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 6.1; rv:70.0) Gecko/20100101 Firefox/70.0</code>.

**Challenge:** Use the value attribute with Radio Buttons and Checkboxes

**Link to the challenge:**

Hopefully this will help :slight_smile: : Use the value attribute with Radio Buttons and Checkboxes

I found how to do it by putting : ```
id=“indoor” value=“indoor”

not adding only "value" for each "<label><input..." as they say in the exercice.

I did the test and even if you add only “value”(and the name in uppercase of each one, like indoor for the first one for example) it works also! Wouah! Amazing!..finally… so simple!

:+1: good work (in lowercase though, right?)

The simple errors are the hardest to find, at least for me. Happy coding.