fix(curriculum): test typos (#39984)

This commit is contained in:
Oliver Eyton-Williams
2020-10-15 20:49:57 +02:00
committed by GitHub
parent f6fcb26a9d
commit 35c4020f4d
4 changed files with 6 additions and 6 deletions

View File

@ -20,9 +20,9 @@ tests:
testString: assert( $('input').length );
- text: Your `form` should only contain the `input` element. Remove any HTML additional elements or text within the `form` element.
testString: assert( $('form')[0].children.length === 1 && $('form')[0].innerText.trim().length === 0 );
- text: Your `input` element should have a `required` attribute`. Remember, you just add the word `required` inside the `input` element's tag.
- text: Your `input` element should have a `required` attribute. Remember, you just add the word `required` inside the `input` element's tag.
testString: assert( $('input')[0].hasAttribute('required') );
- text: A value should not be given to the `required` attribute`.
- text: A value should not be given to the `required` attribute.
testString: assert( $('input')[0].getAttribute('required') === '' );
```