From 37931ef04c8f306158b0ef1731bdf6c044bc07d9 Mon Sep 17 00:00:00 2001 From: Supravisor <153783117+Supravisor@users.noreply.github.com> Date: Fri, 12 Jul 2024 01:21:49 +1200 Subject: [PATCH] fix(curriculum): assert closing form tag (#55449) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com> --- .../60f5c3e399ff1a05629964e4.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f5c3e399ff1a05629964e4.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f5c3e399ff1a05629964e4.md index e2a45a4d87f..38cc7e07571 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f5c3e399ff1a05629964e4.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60f5c3e399ff1a05629964e4.md @@ -30,6 +30,12 @@ You should give the `action` a value of `https://register-demo.freecodecamp.org` assert.equal(document.querySelector('form')?.action, 'https://register-demo.freecodecamp.org/'); ``` +Your `form` element should have a closing tag ``. + +```js +assert.match(code, /<\/form\>/); +``` + # --seed-- ## --seed-contents--