diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md index 41e419b3aad..266ebc6e2a4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-form-validation-by-building-a-calorie-counter/63c217ccd939053ce4fa16d6.md @@ -27,7 +27,7 @@ Your `input` element should have a `type` attribute set to `text`. ```js const HTMLstring = code.split(/HTMLString\s*=/)[1]; -const inputAttributes = HTMLstring.match(//)[0]; +const inputAttributes = HTMLstring.match(//)[0]; +const inputAttributes = HTMLstring.match(//)[0]; +const inputAttributes = HTMLstring.match(//); +``` + +The `input` element should have the closing `>`. + +```js +assert.match(code, /HTMLString\s*=\s*`\n\s*Entry\s\$\{entryNumber\}\sName<\/label>\n\s*]*>/); +``` + # --seed-- ## --seed-contents--