diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.english.md index 5438661b21..69abc534d5 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons.english.md @@ -30,7 +30,7 @@ tests: - text: Your page should have two radio button elements. testString: assert($('input[type="radio"]').length > 1, 'Your page should have two radio button elements.'); - text: Give your radio buttons the name attribute of indoor-outdoor. - testString: assert($('label > input[type="radio"]').filter("[name='indoor-outdoor']").length > 1, 'Give your radio buttons the name attribute of indoor-outdoor.'); + testString: assert($('input[type="radio"]').filter("[name='indoor-outdoor']").length > 1, 'Give your radio buttons the name attribute of indoor-outdoor.'); - text: Each of your two radio button elements should be nested in its own label element. testString: assert($('label > input[type="radio"]:only-child').length > 1, 'Each of your two radio button elements should be nested in its own label element.'); - text: Make sure each of your label elements has a closing tag.