Update article.md

Rewording example lead-in.
This commit is contained in:
paroche 2019-10-21 18:36:06 -06:00 committed by GitHub
parent 88cd022adc
commit 022c037925
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
# 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.
## 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: