diff --git a/curriculum/challenges/english/blocks/learn-basic-css-by-building-a-cafe-menu/5f3477aefa51bfc29327200b.md b/curriculum/challenges/english/blocks/learn-basic-css-by-building-a-cafe-menu/5f3477aefa51bfc29327200b.md index c4e843e79c4..615ba2c0875 100644 --- a/curriculum/challenges/english/blocks/learn-basic-css-by-building-a-cafe-menu/5f3477aefa51bfc29327200b.md +++ b/curriculum/challenges/english/blocks/learn-basic-css-by-building-a-cafe-menu/5f3477aefa51bfc29327200b.md @@ -18,13 +18,13 @@ Start by rewriting the styles you have created into the `styles.css` file. Make Your `styles.css` file should have the `h1, h2, p` type selector. ```js -assert(editableContents.replace(/[\s\n]*/g, "").match(/(h1|h2|p),(h1|h2|p),(h1|h2|p){/)); +assert(code.slice(code.indexOf('')).replace(/[\s\n]*/g, "").match(__helpers.concatRegex(__helpers.permutateRegex(['h1', 'h2', 'p'], { elementsSeparator: ',' }), /{/))); ``` Your selector should set the `text-align` property to `center`. ```js -assert(editableContents.match(/text-align:\s*center;?/)); +assert(code.slice(code.indexOf('')).match(/text-align:\s*center;?/)); ``` Your code should not contain the `