diff --git a/curriculum/challenges/english/blocks/workshop-bookstore-page/69134b6cb43aa5f254950a10.md b/curriculum/challenges/english/blocks/workshop-bookstore-page/69134b6cb43aa5f254950a10.md index 8a97b923259..03e976aa0a8 100644 --- a/curriculum/challenges/english/blocks/workshop-bookstore-page/69134b6cb43aa5f254950a10.md +++ b/curriculum/challenges/english/blocks/workshop-bookstore-page/69134b6cb43aa5f254950a10.md @@ -14,6 +14,8 @@ Start your bookstore page by creating the HTML boilerplate. Add the `` declaration and `html` and `head` elements. +Add a `lang` attribute to the `html` element and set it to `"en"`. + # --hints-- Your code should include a `` declaration. @@ -25,7 +27,13 @@ assert.match(code, //i); Your code should include both opening and closing `` tags. ```js -assert.match(code,/[\s\S]*<\/html>/i); +assert.match(code,/]*>[\s\S]*<\/html>/i); +``` + +Your `html` element should have a `lang` attribute set to `"en"`. + +```js +assert.match(code, /]*\blang\s*=\s*["']en["'][^>]*>/i); ``` Your code should include both opening and closing `
` tags. diff --git a/curriculum/challenges/english/blocks/workshop-bookstore-page/69134d14150d51f8066a3246.md b/curriculum/challenges/english/blocks/workshop-bookstore-page/69134d14150d51f8066a3246.md index e971f205df9..c5eb4b024bc 100644 --- a/curriculum/challenges/english/blocks/workshop-bookstore-page/69134d14150d51f8066a3246.md +++ b/curriculum/challenges/english/blocks/workshop-bookstore-page/69134d14150d51f8066a3246.md @@ -9,18 +9,12 @@ dashedName: step-3 Now, improve the structure of your HTML document to ensure your page is encoded correctly. -Add a `lang` attribute to the `html` element and set it to `"en"`. Then, inside the `head` element add the `` element. +Inside the `head` element, add the `` element. Lastly, add a `body` element below the `head` section. This is where all of your visible page content will go. # --hints-- -Your `html` element should have a `lang` attribute set to `"en"`. - -```js -assert.match(code, /]*\blang=["']en["'][^>]*>/i); -``` - Your code should include a `` element. ```js @@ -45,7 +39,7 @@ assert.match(code, /<\/head>[\s\S]*[\s\S]*<\/body>[\s\S]*<\/html>/i); ```html --fcc-editable-region-- - +