What the fault with Using the value attribute with Checkboxe in my code?s


<label><input id="loving" value="loving" type="checkbox" name="personality">loving</label>
   <label><input id="Lazy" value="Lazy" type="checkbox" name="personality">Lazy</label>
   <label><input id="Energetic" value="Energetic" type="checkbox" name="personality">Energetic</label><br>

<label><input id="loving" value="loving" type="checkbox" name="personality">loving</label>
   <label><input id="Lazy" value="Lazy" type="checkbox" name="personality">Lazy</label>
   <label><input id="Energetic" value="Energetic" type="checkbox" name="personality">Energetic</label><br>

``````````````````

Caps!

Could you give more details about what you’re supposed to do for this exercise? (like the instructions)

Here is the requer… and the result after do run

The string given to the value properties has to be in lowercase (e.g. lazy not Lazy). Also, you seem to be missing some elements in the code you have posted.

1 Like

Yes, that was because the first letter was uppercase :grin:lol … Thank you very much