From 48884f3a4a171080582e53f8e188f54b62c2a928 Mon Sep 17 00:00:00 2001 From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Date: Sat, 11 May 2019 17:09:08 -0700 Subject: [PATCH] fix: changed to h4 > s in selector (#36023) --- .../use-the-s-tag-to-strikethrough-text.english.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.english.md index 2627d14c82..df78d4aa20 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.english.md @@ -21,11 +21,11 @@ Wrap the s tag around "Google" inside the h4 tag and t ```yml tests: - text: Your code should add one s tag to the markup. - testString: assert($('s').length == 1, 'Your code should add one s tag to the markup.'); + testString: assert($('s').length == 1); - text: A s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet. - testString: assert($('s').text().match(/Google/gi) && !$('s').text().match(/Alphabet/gi), 'A s tag should wrap around the Google text in the h4 tag. It should not contain the word Alphabet.'); + testString: assert($('h4 > s').text().match(/Google/gi) && !$('h4 > s').text().match(/Alphabet/gi)); - text: Include the word Alphabet in the h4 tag, without strikethrough formatting. - testString: assert($('h4').html().match(/Alphabet/gi), 'Include the word Alphabet in the h4 tag, without strikethrough formatting.'); + testString: assert($('h4').html().match(/Alphabet/gi)); ```