From dd2eaba4027e6dd96544eaa93f6eec7e26a39058 Mon Sep 17 00:00:00 2001
From: Supravisor <153783117+Supravisor@users.noreply.github.com>
Date: Tue, 10 Dec 2024 21:01:15 +1300
Subject: [PATCH] fix(curriculum): fix broken HTML in Calorie Counter (#57170)
---
.../63c217ccd939053ce4fa16d6.md | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
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*