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)); ```