Skip to content

Commit dd9833c

Browse files
Update 2-ui/4-forms-controls/1-form-elements/article.md
Co-authored-by: Muhammed Zakir <[email protected]>
1 parent ff9e2e2 commit dd9833c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/4-forms-controls/1-form-elements/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ That's a so-called "named collection": it's both named and ordered. We can use b
1212

1313
```js no-beautify
1414
document.forms.my; // the form with name="my"
15-
document.forms[0] // the first form in the document
15+
document.forms[0]; // the first form in the document
1616
```
1717

1818
When we have a form, then any element is available in the named collection `form.elements`.

0 commit comments

Comments
 (0)