Fix(curriculum) Less strict whitespace in HTML Form 15 (#46792)

HTML form - less strict whitespace tests
This commit is contained in:
Jeremy L Thompson 2022-07-07 11:16:17 -06:00 committed by GitHub
parent c7c9a5492d
commit 20fb7e4f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,25 +26,25 @@ assert.equal(document.querySelectorAll('label input')?.length, 4);
You should add the first `input` after the `label` text `Enter Your First Name:`, and include a space after the colon.
```js
assert.equal(document.querySelectorAll('label')?.[0]?.innerHTML, 'Enter Your First Name: <input>');
assert.equal(document.querySelectorAll('label')?.[0]?.innerHTML.trim(), 'Enter Your First Name: <input>');
```
You should add the second `input` after the `label` text `Enter Your Last Name:`, and include a space after the colon.
```js
assert.equal(document.querySelectorAll('label')?.[1]?.innerHTML, 'Enter Your Last Name: <input>');
assert.equal(document.querySelectorAll('label')?.[1]?.innerHTML.trim(), 'Enter Your Last Name: <input>');
```
You should add the third `input` after the `label` text `Enter Your Email:`, and include a space after the colon.
```js
assert.equal(document.querySelectorAll('label')?.[2]?.innerHTML, 'Enter Your Email: <input>');
assert.equal(document.querySelectorAll('label')?.[2]?.innerHTML.trim(), 'Enter Your Email: <input>');
```
You should add the fourth `input` after the `label` text `Create a New Password:`, and include a space after the colon.
```js
assert.equal(document.querySelectorAll('label')?.[3]?.innerHTML, 'Create a New Password: <input>');
assert.equal(document.querySelectorAll('label')?.[3]?.innerHTML.trim(), 'Create a New Password: <input>');
```
# --seed--