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:
parent
33cca1b111
commit
cc3795f5f4
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue