skip to Main Content

What’s wrong with this code? The virtual tutor says:

Sorry, your code does not pass. Don’t give up.
The text Loving should be wrapped in a label element.

<label for="loving"> LOVING </label> 
  <input id="loving" type="checkbox">

The code above is what I tried. I was expecting the tutor to accept the code as "correct."

2

Answers


  1. Try putting in Loving in the label rather then LOVING.

    Login or Signup to reply.
  2. You have Loving in all caps. In the label element, change the text from LOVING to Loving. Also, remove the whitespace around it.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search