diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-040.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-040.md index 4710fec6c4..d74bdffb5c 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-040.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-040.md @@ -20,9 +20,9 @@ tests: testString: assert( $('input').length ); - text: Your `form` should only contain the `input` element. Remove any HTML additional elements or text within the `form` element. testString: assert( $('form')[0].children.length === 1 && $('form')[0].innerText.trim().length === 0 ); - - text: Your `input` element should have a `required` attribute`. Remember, you just add the word `required` inside the `input` element's tag. + - text: Your `input` element should have a `required` attribute. Remember, you just add the word `required` inside the `input` element's tag. testString: assert( $('input')[0].hasAttribute('required') ); - - text: A value should not be given to the `required` attribute`. + - text: A value should not be given to the `required` attribute. testString: assert( $('input')[0].getAttribute('required') === '' ); ``` diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-characters-with-lazy-matching.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-characters-with-lazy-matching.md index 5b4cf52e63..c0ce1feeee 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-characters-with-lazy-matching.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-characters-with-lazy-matching.md @@ -28,7 +28,7 @@ tests: testString: assert(result[0] == '

'); - text: myRegex should use lazy matching testString: assert(/\?/g.test(myRegex)); - - text: myRegex should not include the string 'h1' + - text: myRegex should not include the string 'h1' testString: assert(!myRegex.source.match('h1')); ``` diff --git a/curriculum/challenges/english/03-front-end-libraries/sass/store-data-with-sass-variables.md b/curriculum/challenges/english/03-front-end-libraries/sass/store-data-with-sass-variables.md index 9d8a555c48..82705da534 100644 --- a/curriculum/challenges/english/03-front-end-libraries/sass/store-data-with-sass-variables.md +++ b/curriculum/challenges/english/03-front-end-libraries/sass/store-data-with-sass-variables.md @@ -39,9 +39,9 @@ tests: testString: assert(code.match(/\$text-color:\s*?red;/g)); - text: Your code should use the $text-color variable to change the color for the .blog-post and h2 items. testString: assert(code.match(/color:\s*?\$text-color;/g)); - - text: Your .blog-post element should have a color of red. + - text: Your .blog-post element should have a color of red. testString: assert($('.blog-post').css('color') == 'rgb(255, 0, 0)'); - - text: Your h2 elements should have a color of red. + - text: Your h2 elements should have a color of red. testString: assert($('h2').css('color') == 'rgb(255, 0, 0)'); ``` diff --git a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/execute-brain.md b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/execute-brain.md index 033053107c..6b17340f17 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/execute-brain.md +++ b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/execute-brain.md @@ -37,7 +37,7 @@ Any cell size is allowed, EOF (End-O-File) support is optio tests: - text: brain(bye) should return a string testString: assert(typeof brain(bye) === 'string'); - - text: brain("++++++[>++++++++++<-]>+++++.")brain("++++++[>++++++++++<-]>+++++.") should return "A" testString: assert.equal(brain("++++++[>++++++++++<-]>+++++."),"A"); - text: brain(bye) should return Goodbye, World!\\r\\n testString: assert.equal(brain(bye), 'Goodbye, World!\r\n');