Help me again pls, im stuck give me more tips

 <label><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
 <label><input id="outdoor" type="radio" name="indoor-outdoor"> outdoor</label>

Challenge: Step 48

If you select the Indoor radio button and submit the form, the form data for the button is based on its name and value attributes. Since your radio buttons do not have a value attribute, the form data will include indoor-outdoor=on, which is not useful when you have multiple buttons.

Add a value attribute to both radio buttons. For convenience, set the button’s value attribute to the same value as its id attribute.

Link to the challenge:

Hint: name, id and type are all called attribute, just type ‘value’ like the others and give it the required text.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.