fix(curriculum,i18n): issues in the source string (#45622)
* Added code formatting * Removed dots from postscript since they break the emphasis tag
This commit is contained in:
committed by
GitHub
parent
a6d2660c7c
commit
6af38bb240
@ -19,7 +19,7 @@ You should give the `textarea` a `rows` attribute with value `3`.
|
||||
assert.equal(document.querySelector('fieldset:nth-child(3) > label:nth-child(4) > textarea')?.rows, 3);
|
||||
```
|
||||
|
||||
You should give the textarea a `cols` attribute with value `30`.
|
||||
You should give the `textarea` a `cols` attribute with value `30`.
|
||||
|
||||
```js
|
||||
assert.equal(document.querySelector('fieldset:nth-child(3) > label:nth-child(4) > textarea')?.cols, 30);
|
||||
|
@ -13,55 +13,55 @@ Go ahead, and give each submittable element a unique `name` attribute of your ch
|
||||
|
||||
# --hints--
|
||||
|
||||
You should give the `input` expecting a first name a `name` attribtute. _P.S. I would have chosen `first-name`_
|
||||
You should give the `input` expecting a first name a `name` attribtute. _PS I would have chosen `first-name`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('fieldset:nth-child(1) > label:nth-child(1) > input')?.name);
|
||||
```
|
||||
|
||||
You should give the `input` expecting a last name a `name` attribute. _P.S. I would have chosen `last-name`_
|
||||
You should give the `input` expecting a last name a `name` attribute. _PS I would have chosen `last-name`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('fieldset:nth-child(1) > label:nth-child(2) > input')?.name);
|
||||
```
|
||||
|
||||
You should give the `email` a `name` attribute. _P.S. I would have chosen `email`_
|
||||
You should give the `email` a `name` attribute. _PS I would have chosen `email`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('input[type="email"]')?.name);
|
||||
```
|
||||
|
||||
You should give the `password` a `name` attribute. _P.S. I would have chosen `password`_
|
||||
You should give the `password` a `name` attribute. _PS I would have chosen `password`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('input[type="password"]')?.name);
|
||||
```
|
||||
|
||||
You should give the `checkbox` a `name` attribute. _P.S. I would have chosen `terms`_
|
||||
You should give the `checkbox` a `name` attribute. _PS I would have chosen `terms`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('input[type="checkbox"]')?.name);
|
||||
```
|
||||
|
||||
You should give the `file` a `name` attribute. _P.S. I would have chosen `file`_
|
||||
You should give the `file` a `name` attribute. _PS I would have chosen `file`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('input[type="file"]')?.name);
|
||||
```
|
||||
|
||||
You should give the `number` a `name` attribute. _P.S. I would have chosen `age`_
|
||||
You should give the `number` a `name` attribute. _PS I would have chosen `age`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('input[type="number"]')?.name);
|
||||
```
|
||||
|
||||
You should give the `select` element a `name` attribute. _P.S. I would have chosen `referrer`_
|
||||
You should give the `select` element a `name` attribute. _PS I would have chosen `referrer`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('select')?.name);
|
||||
```
|
||||
|
||||
You should give the `textarea` element a `name` attribute. _P.S. I would have chosen `bio`_
|
||||
You should give the `textarea` element a `name` attribute. _PS I would have chosen `bio`_
|
||||
|
||||
```js
|
||||
assert.isNotEmpty(document.querySelector('textarea')?.name);
|
||||
|
Reference in New Issue
Block a user