From c28aac036d04dd13db8d9c6bae7e4490f129a81a Mon Sep 17 00:00:00 2001 From: Guy Even Date: Thu, 12 Jul 2018 00:03:23 +0300 Subject: [PATCH] fix(challenges): fixed regex in a challenge Fix the regex in use the strong tag to make the text bold in order to only accept Stanford Yniversity ISSUES CLOSED: freeCodeCamp/freeCodeCamp#17861 --- challenges/01-responsive-web-design/applied-visual-design.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json index cc106dce1..5533db55b 100644 --- a/challenges/01-responsive-web-design/applied-visual-design.json +++ b/challenges/01-responsive-web-design/applied-visual-design.json @@ -243,7 +243,7 @@ "text": "The strong tag should wrap around the words \"Stanford University\".", "testString": - "assert($('strong').text().match(/Stanford University/gi), 'The strong tag should wrap around the words \"Stanford University\".');" + "assert($('strong').text().match(/^Stanford University$/gi), 'The strong tag should wrap around the words \"Stanford University\".');" } ], "solutions": [],