Update article.md

Changed spelling of "neighbor" from British ("neighbour") to American.

I think that's how you want it. Otherwise some other stuff has to be switched to British.
This commit is contained in:
Peter Roche 2019-10-23 20:04:30 -06:00 committed by GitHub
parent 33cca1b111
commit cc3795f5f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ The links are similar to those given above, just with `Element` word inside:
- `children` -- only those children that are element nodes.
- `firstElementChild`, `lastElementChild` -- first and last element children.
- `previousElementSibling`, `nextElementSibling` -- neighbour elements.
- `previousElementSibling`, `nextElementSibling` -- neighbor elements.
- `parentElement` -- parent element.
````smart header="Why `parentElement`? Can the parent be *not* an element?"
@ -323,7 +323,7 @@ There are also additional navigation properties for HTML forms. We'll look at th
## Summary
Given a DOM node, we can go to its immediate neighbours using navigation properties.
Given a DOM node, we can go to its immediate neighbors using navigation properties.
There are two main sets of them: