Merge pull request #1499 from javascript-tutorial/paroche-patch-5
Update article.md
This commit is contained in:
commit
00d3f99fe5
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Modifying the document
|
# Modifying the document
|
||||||
|
|
||||||
DOM modifications is the key to create "live" pages.
|
DOM modification is the key to creating "live" pages.
|
||||||
|
|
||||||
Here we'll see how to create new elements "on the fly" and modify the existing page content.
|
Here we'll see how to create new elements "on the fly" and modify the existing page content.
|
||||||
|
|
||||||
## Example: show a message
|
## Example: show a message
|
||||||
|
|
||||||
Let's see the methods on example. We'll add a message on the page that looks nicer than `alert`.
|
Let's demonstrate using an example. We'll add a message on the page that looks nicer than `alert`.
|
||||||
|
|
||||||
Here's how it will look:
|
Here's how it will look:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue