diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17d3bf86c76b9248c6eb4.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17d3bf86c76b9248c6eb4.md index ae7511242fe..b6d246dbd52 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17d3bf86c76b9248c6eb4.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17d3bf86c76b9248c6eb4.md @@ -9,7 +9,7 @@ dashedName: step-3 The `p` element is used to create a paragraph of text on websites. Create a `p` element below your `h2` element and give it the following text: -`Click here to view more cat photos.` +`See more cat photos in our gallery.` # --hints-- @@ -25,13 +25,13 @@ Your `p` element should have a closing tag. Closing tags have a `/` just after t assert(code.match(/<\/p\>/)); ``` -Your `p` element's text should be `Click here to view more cat photos.` You have either omitted the text or have a typo. +Your `p` element's text should be `See more cat photos in our gallery.` You have either omitted the text or have a typo. ```js const extraSpacesRemoved = document .querySelector('p') .innerText.replace(/\s+/g, ' '); -assert(extraSpacesRemoved.match(/click here to view more cat photos\.?$/i)); +assert(extraSpacesRemoved.match(/see more cat photos in our gallery\.?$/i)); ``` Your `p` element should be below the `h2` element. You have them in the wrong order. diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17dc8f86c76b9248c6eb5.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17dc8f86c76b9248c6eb5.md index 66699fdedd6..303e1ec4147 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17dc8f86c76b9248c6eb5.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc17dc8f86c76b9248c6eb5.md @@ -47,7 +47,7 @@ assert( code .replace(/\s/g, '') .match( - /
clickheretoviewmorecatphotos\.?<\/p>/i + /
seemorecatphotosinourgallery\.?<\/p>/i ) ); ``` @@ -63,7 +63,7 @@ assert(
Click here to view more cat photos.
+See more cat photos in our gallery.
--fcc-editable-region--