From bda37e2b7b9a0010619bf70b6355053baeb6edea Mon Sep 17 00:00:00 2001 From: Zearin Date: Fri, 15 Jan 2021 12:14:53 -0500 Subject: [PATCH 01/25] Update article.md Minor edits for grammar, phrasing, and markup. --- .../1-form-elements/article.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/2-ui/4-forms-controls/1-form-elements/article.md b/2-ui/4-forms-controls/1-form-elements/article.md index 6c7e18aca..748825d53 100644 --- a/2-ui/4-forms-controls/1-form-elements/article.md +++ b/2-ui/4-forms-controls/1-form-elements/article.md @@ -8,7 +8,7 @@ Working with forms will be much more convenient when we learn them. Document forms are members of the special collection `document.forms`. -That's a so-called "named collection": it's both named and ordered. We can use both the name or the number in the document to get the form. +That's a so-called "named collection": it's both named and ordered. We can use both the name or the number in the document to get the form. ```js no-beautify document.forms.my - the form with name="my" @@ -36,9 +36,9 @@ For instance: ``` -There may be multiple elements with the same name, that's often the case with radio buttons. +There may be multiple elements with the same name. This is often the case for radio buttons or checkboxes. -In that case `form.elements[name]` is a collection, for instance: +In these cases, `form.elements[name]` is a _collection_. For instance: ```html run height=40
@@ -119,7 +119,7 @@ That's easy to see in an example: ``` -That's usually not a problem, because we rarely change names of form elements. +That's usually not a problem, however, because we rarely change names of form elements. ```` @@ -182,7 +182,7 @@ A ``: -1. Find the corresponding `