diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md index b56b9656ea..8669316c4f 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md @@ -46,7 +46,7 @@ assert(code.match(//gi)); Your `html` element should have a closing tag. ```js -assert(code.match(/<\/html\s*>/)); +assert(code.match(/<\/html\s*>/gi)); ``` Your `html` element should be below the `DOCTYPE` declaration. diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md index 65e2bd7dc4..c82ce980a8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md @@ -16,7 +16,7 @@ Nest a `link` element within the `head`. Give it a `rel` attribute set to `style Your code should have one `link` element. ```js -assert(code.match(/(.|\r|\n)*<\/head>/i)?.[0]; -assert(head.match(/