From 28efec9e631d7ebd44f3e86a891dbb7832b84a55 Mon Sep 17 00:00:00 2001 From: Lorem Ispum <70416702+ajl223@users.noreply.github.com> Date: Mon, 5 Jul 2021 06:28:49 -0400 Subject: [PATCH] fix: recognize background-image as correct (#42738) (#42745) * fix: recognize background-image as correct (#42738) The page mentioned in #42738 before would not accept background-image and background, now it should. * fix: CI build error Co-authored-by: Ilenia Co-authored-by: Ilenia --- ...-texture-by-adding-a-subtle-pattern-as-a-background-image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md index 6a0f81eee7..9afa1f1822 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md @@ -22,7 +22,7 @@ Your `body` element should have a `background` property set to a `url()` with th ```js assert( code.match( - /background:\s*?url\(\s*("|'|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\1\s*\)/gi + /background(-image)?:\s*?url\(\s*("|'|)https:\/\/cdn-media-1\.freecodecamp\.org\/imgr\/MJAkxbh\.png\2\s*\)/gi ) ); ```