From d9213b38cd15aba71d3eed06872be4e8b4a349a7 Mon Sep 17 00:00:00 2001
From: lasjorg <28780271+lasjorg@users.noreply.github.com>
Date: Wed, 27 Mar 2019 07:03:41 +0100
Subject: [PATCH] fix(challenge): remove child selector from name attribute
test (#35423)
---
.../create-a-set-of-radio-buttons.english.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.