717 B
717 B
title |
---|
Create a Set of Radio Buttons |
Create a Set of Radio Buttons
To solve this challenge you can break it into pieces to better understand the steps:
- Create the 'containers': lay down two
label
elements and give them the text content the challenge asks you ( one must have the text 'Indoor', one 'Outdoor', capitalization matter); - Create the 'content' : a radio button it's just a
input
element withtype=radio
(create two of them); - Create a group of radio buttons: give both of your radio buttons the attribute
name
set to the same value ( the challenge instructions state that the group has to be namedindoor-outdoor
); - Nest each radio button in a label;
Good luck!