chore: fixed mistakes in the source string (#45517)

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Farhan Hasin Chowdhury
2022-03-25 18:16:48 +06:00
committed by GitHub
parent 6d56b777d8
commit e1262977ba
3 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ Create a text field to get text input from a user by adding the `type` attribute
# --hints--
You have either deleted your `input` element or it has invalid syntax. If you have added an attributes, make sure their values are surrounded by quotation marks.
You have either deleted your `input` element or it has invalid syntax. If you have added attributes, make sure their values are surrounded by quotation marks.
```js
assert($('input').length);
@ -28,7 +28,7 @@ assert(
);
```
Your `input` element does not have a `type` attribute. with the value `text`. Check that there is a space after the opening tag's name and/or there are spaces before all attribute names.
Your `input` element does not have a `type` attribute with the value `text`. Check that there is a space after the opening tag's name and/or there are spaces before all attribute names.
```js
assert($('input')[0].hasAttribute('type'));

View File

@ -11,7 +11,7 @@ Add a `legend` element with the text `What's your cat's personality?` inside the
# --hints--
You have either deleted the second `fieldset` element or it is missing an opening tag or closing tag."
You have either deleted the second `fieldset` element or it is missing an opening tag or closing tag.
```js
assert(

View File

@ -19,7 +19,7 @@ You have either deleted your `input` element or it has invalid syntax. All attri
assert($('input').length);
```
Your `form` should only contain the `input` element. Remove any HTML additional elements or text within the `form` element.
Your `form` should only contain the `input` element. Remove any additional HTML elements or text within the `form` element.
```js
assert(