diff --git a/curriculum/challenges/english/blocks/workshop-cat-photo-app/5ef9b03c81a63668521804ee.md b/curriculum/challenges/english/blocks/workshop-cat-photo-app/5ef9b03c81a63668521804ee.md index 20f380375c7..970b4c5f561 100644 --- a/curriculum/challenges/english/blocks/workshop-cat-photo-app/5ef9b03c81a63668521804ee.md +++ b/curriculum/challenges/english/blocks/workshop-cat-photo-app/5ef9b03c81a63668521804ee.md @@ -18,14 +18,14 @@ Add this declaration as the first line of the code. Your code should begin with the declaration ``. You may have omitted the declaration, have a typo, or it is not the first line of code. ```js -assert.match(code, /\<\s*!DOCTYPE\s+html\s*\>/); +assert.match(code, /<\s*!doctype\s+html\s*>/i); ``` Your `` must be located at the top of the document. ```js const noSpaces = code.replace(/\s/g, ''); -assert.match(noSpaces, /^\<\!DOCTYPEhtml\>\