I cannot pass the first assignment because I keep failing this test: All your checkboxes inside #survey-form
should have a value
attribute and value. I cannot see anything wrong . I have tried different values and checked spelling. A copy of my code is available below. Please assist.
<fieldset>
<label for="dropdown">How much of your initial weight have you kept off within the past 5 years?
<select id="dropdown" class="inline" required>
<option value="1">Select one option</option>
<option value="2">Less than 10%</option>
<option value="3">Between 10-20%</option>
<option value="4">Greater than 20%</option>
</select>
</label>
</fieldset>
The <select>
tag is used to make a drop-down list not a checkbox.
To make a checkbox, use <input>
tag with the type
attribute set to checkbox
and add the value
attribute to it as mentioned in the challenge.
You can use the Get Help
button to make a topic with all your code and a link to the step or project you are stuck on.
2 Likes
Hey Buddy, Here as you are mentioning Your all checkbox should have the value attribute, and value
You Can Do this by given below example.
<input type=“checkbox” value=“PC”
This how you can add, If still you have any issue. Kindly let me know please.
Happy Coding 
Thank you. You helped me realise I kept referring to the dropdown, not the checkboxes.
2 Likes
Thank you! I was looking at the wrong fieldset.
2 Likes
Don’t worry It’s natural, we are here to guide you !!