From 72e35ec2563acbda0b00ebb4e67c3871688e7dee Mon Sep 17 00:00:00 2001 From: billybrown-iii <69483354+billybrown-iii@users.noreply.github.com> Date: Fri, 17 Jun 2022 00:59:40 -0700 Subject: [PATCH] fix(curriculum): make space optional (#46531) --- .../5ef9b03c81a63668521804dc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804dc.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804dc.md index 18539d4809c..31682784324 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804dc.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804dc.md @@ -72,12 +72,12 @@ const radioInputElem = $('input')[0]; assert(!radioInputElem.previousSibling.nodeValue.match(/Indoor/i)); ``` -The text ` Indoor` should be located directly to the right of your `radio` button. Make sure there is a space between the element and the text. You have either omitted the text or have a typo. +The text ` Indoor` should be located directly to the right of your `radio` button. You have either omitted the text or have a typo. ```js const radioInputElem = $('input')[0]; assert( - radioInputElem.nextSibling.nodeValue.replace(/\s+/g, ' ').match(/ Indoor/i) + radioInputElem.nextSibling.nodeValue.replace(/\s+/g, ' ').match(/Indoor/i) ); ```