This is snippet from your code. You have added the ‘value’ attribute for the last three code lines and that is OK. But the previous three lines are surplus there.
I have underlined three html elements in which you have to add the ‘value’ attribute set to the same value as their ‘id’ attribute. So, if the input’s ‘id’ has a value of “lazy”, add the ‘value’ attribute set to “lazy”. Do the same for all three ‘input’ elements.
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
That is the error you are getting but we need the actual html code to see what you are doing. @DobarBREND has suggested some issues to fix, and if you have attempted to fix those then we need the new code you added to so we can see what issue is still on going. You can click inside the challenge code press ctrl+a to select all the code then press ctrl +c to copy it. Then using the button I mentioned about click in between the lines and press ctrl+v to paste the code in
Skip to content
Search
Search 9,000+ tutorials
Donate
Menu
(New) Responsive Web Design
Learn HTML by Building a Cat Photo App
index.htmleditor
ConsoleHide the previewPreviewMove the preview to a new window and focus it
504849
Step 60
Like radio buttons, form data for selected checkboxes are name / value attribute pairs. While the value attribute is optional, it's best practice to include it with any checkboxes or radio buttons on the page.
Add a value attribute to each checkbox. For convenience, set each checkbox's value attribute to the same value as its id attribute.
<h2>Cat Form</h2>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<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>
Test
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.
Navigated to Step 60
You only shared the code for the radio buttons, we need to see the code for the checkboxes. Here is a screenshot of what your challenge screen should look like. On your screen, click inside that box where the code is. Press ctr+a to select all the code, then press ctrl+c to copy all the code you selected. Finally, in the reply with the button I showed you, you would press ctrl+v in between those to lines so it pastes all the code you copied