Skip to content

Commit 9a0250c

Browse files
committed
split html/js blocks to fix syntax
1 parent 3064a25 commit 9a0250c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/api-queries.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,11 @@ display value.
383383

384384
#### `input`
385385

386+
```html
387+
<input type="text" id="lastName" />
388+
```
389+
386390
```js
387-
;<input type="text" id="lastName" />
388391
document.getElementById('lastName').value = 'Norris'
389392
```
390393

@@ -418,8 +421,11 @@ cy.getByDisplayValue('Norris').should('exist')
418421

419422
#### `textarea`
420423

424+
```html
425+
<textarea id="messageTextArea" />
426+
```
427+
421428
```js
422-
;<textarea id="messageTextArea" />
423429
document.getElementById('messageTextArea').value = 'Hello World'
424430
```
425431

0 commit comments

Comments
 (0)