Skip to content

Commit ae1a1a0

Browse files
committed
2 parents 2f0261b + fdb2521 commit ae1a1a0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Operators `++` and `--` can be placed both after and before the variable.
268268
269269
Both of these records do the same: increase `i` by `1`.
270270
271-
Is there any difference? Yes, but we can only see it if we use the retured value of `++/--`.
271+
Is there any difference? Yes, but we can only see it if we use the returned value of `++/--`.
272272
273273
Let's clarify. As we know, all operators return a value. Increment/decrement is not an exception here. The prefix form returns the new value, while the postfix form returns the old value (prior to increment/decrement).
274274

1-js/02-first-steps/12-while-for/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ The combination: "infinite loop + `break` as needed" is great for situations whe
235235

236236
## Continue to the next iteration [#continue]
237237

238-
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead if stops the current iteration and forces the loop to start a new one (if the condition allows).
238+
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead it stops the current iteration and forces the loop to start a new one (if the condition allows).
239239

240240
We can use it if we're done on the current iteration and would like to move on to the next.
241241

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function showMessage() {
7979
alert(message);
8080
}
8181

82-
showMessage(); // Hello, my name is John
82+
showMessage(); // Hello, John
8383
```
8484

8585
The function has full access to the outer variable. It can modify it as well.

2-ui/1-document/05-basic-dom-node-properties/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ Each DOM node belongs to a certain class. The classes form a hierarchy. The full
472472
Main DOM node properties are:
473473
474474
`nodeType`
475-
: Node type. We can get it from the DOM object class, but often we need just to see is it a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
475+
: Node type. We can get it from the DOM object class, but often we need just to see if it is a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
476476
477477
`nodeName/tagName`
478478
: For elements, tag name (uppercased unless XML-mode). For non-element nodes `nodeName` describes what is it. Read-only.

2-ui/1-document/06-dom-attributes-and-properties/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ But the attribute-property mapping is not one-to-one! In this chapter we'll pay
1010

1111
## DOM properties
1212

13-
We've already seen built-in DOM properties. There's a lot. But technically no one limits us, and if it's not enough -- we can add own own.
13+
We've already seen built-in DOM properties. There's a lot. But technically no one limits us, and if it's not enough -- we can add our own.
1414

1515
DOM nodes are regular JavaScript objects. We can alter them.
1616

2-ui/1-document/07-modifying-document/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ These methods are "old school": they exist from the ancient times and we can mee
153153

154154
For instance, how to insert *html* if we have it as a string? Or, given a node, how to insert another node *before* it? Of course, all that is doable, but not in an elegant way.
155155

156-
So there exist two other sets of insertion methods to handle all cases easily.
156+
So there exists two other sets of insertion methods to handle all cases easily.
157157

158158
### prepend/append/before/after
159159

0 commit comments

Comments
 (0)