fix(curriculum): changed challenge test text to use the word should for Responsive Web Design (#36860)

* fix: changed challenge test text to use should

* fix: changed have to be used in

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: reworded test verbiage

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: improved test verbiage

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: improved test verbiage

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: corrected typo

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: corrected typo

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed have the to be used in

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: corrected verbiage

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
This commit is contained in:
Randell Dawson
2019-11-20 06:45:19 -08:00
committed by Parth Parth
parent b663c39901
commit 9bf3fdbf38
47 changed files with 116 additions and 116 deletions

View File

@@ -28,7 +28,7 @@ Increase the size of the element with the id of <code>ball2</code> to 1.5 times
```yml
tests:
- text: Set the <code>transform</code> property for <code>#ball2</code> to scale it 1.5 times its size.
- text: The <code>transform</code> property for <code>#ball2</code> should be set to scale it to 1.5 times its size.
testString: assert(code.match(/#ball2\s*?{\s*?left:\s*?65%;\s*?transform:\s*?scale\(1\.5\);\s*?}|#ball2\s*?{\s*?transform:\s*?scale\(1\.5\);\s*?left:\s*?65%;\s*?}/gi));
```

View File

@@ -25,7 +25,7 @@ tests:
testString: assert($('s').length == 1);
- text: A <code>s</code> tag should wrap around the Google text in the <code>h4</code> 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 <code>h4</code> tag, without strikethrough formatting.
- text: You should include the word "Alphabet" in the <code>h4</code> tag, without strikethrough formatting.
testString: assert($('h4').html().match(/Alphabet/gi));
```