mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): assert closing form tag (#55449)
Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com>
This commit is contained in:
co-authored by
Lasse Jørgensen
parent
5a453cee99
commit
37931ef04c
+6
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user