mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-19 04:00:56 -04:00
fix(curriculum): allow case-insensitive values for form method attribute (#52418)
This commit is contained in:
@@ -28,7 +28,7 @@ assert.exists(document.querySelector('form')?.getAttribute('method'));
|
||||
Your `method` attribute should be set to `post`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelector('form')?.getAttribute('method'), 'post');
|
||||
assert.match(document.querySelector('form')?.getAttribute('method'), /^post$/i);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user