From 060eeefd3282d314e22c74eca1acbb1b735687df Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Thu, 13 Aug 2015 17:57:06 -0700 Subject: [PATCH] fix a ton of bugs in waypoints --- challenges/html5-and-css.json | 66 +++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index faff2d1ecd..f5a105a67c 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -1993,8 +1993,8 @@ "Add to your form a pair of radio buttons. Each radio button should be nested within its own label element. They should share a common name attribute. One should have the option of \"indoor\" and the other should have the option of \"outdoor\"." ], "tests": [ - "assert($(\"input[type=\"radio\"]\").length > 1, 'Your page should have two radio button elements.')", - "assert($(\"input[type=\"radio\"]:nth-child(1)\").attr(\"name\") === \"indoor-outdoor\" && $(\"input[type=\"radio\"]:nth-child(2)\").attr(\"name\") === \"indoor-outdoor\", 'Give your radio buttons the name attribute of \"indoor-outdoor\".')", + "assert($('input[type=\"radio\"]').length > 1, 'Your page should have two radio button elements.')", + "assert($('input[type=\"radio\"]:nth-child(1)').attr('name') === 'indoor-outdoor', 'Give your radio buttons the name attribute of \"indoor-outdoor\".')", "assert($(\"label\").length > 1, 'Each of your two radio button elements should be nested in a label element.')", "assert(editor.match(/<\\/label>/g) && editor.match(/