fix(curriculum): assert closing form tag (#55449)

Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com>
This commit is contained in:
Supravisor
2024-07-11 15:21:49 +02:00
committed by GitHub
co-authored by Lasse Jørgensen
parent 5a453cee99
commit 37931ef04c
@@ -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 `</form>`.
```js
assert.match(code, /<\/form\>/);
```
# --seed--
## --seed-contents--