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-12 01:21:49 +12:00
committed by GitHub
parent 5a453cee99
commit 37931ef04c

View File

@@ -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--