That would be fine, but make sure its the checkbox input code you are copying, and not the radio input code
<input id="energetic" type="checkbox" name="personality"> <label for="energetic">Energetic</label>
<input id="loving" type="checkbox" name="personality" value="loving"> <label for="loving">Loving</label>
<input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
You have four inputs, but the challenge is only asking for three. Get rid of the last energetic input. You also still need to add a value to the first energetic
I believe that was from prior exercise No. 59
When I reset the lesson the challenge starts you out with this
There are only three inputs, you should not have four
I s ee what you mean about last energetic
Yes, delete that one and then you still need to add the value to the first energetic
<input id="loving" type="checkbox" name="personality" value="loving"> <label for="loving">Loving</label>
<input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
please check this to see if anything is wrong before I submit it
Now everything is OK. You should pass the challenge.
fingers crossed i will let you know
est
Sorry, your code does not pass. Keep trying.
Hint
All three checkboxes should have a value attribute. Check that there is a space after the opening tag's name and/or there are spaces before all attribute names.
again same reply errrrrrrrrr
Copy, and paste here all code within the ‘fieldset’ tags. In other words, all html element between the opening <fieldset>
and closing </fieldset>
tag.
Something else is wrong here. Your code has passed on my side.
<fieldset>
<legend>Is your cat an indoor or outdoor cat?</legend>
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
</fieldset>
<fieldset>
<legend>What's your cat's personality?</legend>
<input id="loving" type="checkbox" name="personality"> <label for="loving">Loving</label>
<input id="lazy" type="checkbox" name="personality"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality"> <label for="energetic"> Energetic</label>
<input id="loving" type="checkbox" name="personality" value="loving"> <label for="loving">Loving</label>
<input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
</fieldset>
We have already said that first three code lines after the <legend>What's your cat's personality?</legend>
shouldn’t be there:
Delete the first three code line marked in the picture after the ‘legend’ element, and the step will pass.
Test
Congratulations, your code passes. Submit your code to continue.
thank you so much this just kept me going in circles
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.