Skip to content

Commit c7744f9

Browse files
authored
Update article.md
1 parent c622f3c commit c7744f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ So here's an alternative variant of showing a message:
302302

303303
How to insert one more similar message?
304304

305-
We could do a function and put the code there. But the alternative way would be to *clone* the existing `div` and modify the text inside it (if needed).
305+
We could make a function and put the code there. But the alternative way would be to *clone* the existing `div` and modify the text inside it (if needed).
306306

307307
Sometimes when we have a big element, that may be faster and simpler.
308308

@@ -337,7 +337,7 @@ An example of copying the message:
337337

338338
## Removal methods
339339

340-
To remove nodes, there are following methods:
340+
To remove nodes, there are the following methods:
341341

342342

343343
`parentElem.removeChild(node)`
@@ -411,7 +411,7 @@ The call to `document.write(html)` writes the `html` into page "right here and n
411411

412412
The method comes from times when there were no DOM, no standards... Really old times. It still lives, because there are scripts using it.
413413

414-
In modern scripts we can rarely see it, because of the important limitation.
414+
In modern scripts we can rarely see it, because of the following important limitation:
415415

416416
**The call to `document.write` only works while the page is loading.**
417417

@@ -479,4 +479,4 @@ Insertion and removal of nodes:
479479
- To append HTML to the page before it has finished loading:
480480
- `document.write(html)`
481481

482-
After the page is loaded such call erases the document. Mostly seen in old scripts.
482+
After the page is loaded such a call erases the document. Mostly seen in old scripts.

0 commit comments

Comments
 (0)