diff --git a/5-network/06-url/article.md b/5-network/06-url/article.md index b2e9b734..61c4f941 100644 --- a/5-network/06-url/article.md +++ b/5-network/06-url/article.md @@ -69,7 +69,7 @@ It provides convenient methods for search parameters: - **`append(name, value)`** -- add the parameter, - **`delete(name)`** -- remove the parameter, - **`get(name)`** -- get the parameter, -- **`getAll(name)`** -- get all parameters with that name, +- **`getAll(name)`** -- get all parameters with that name (if many, e.g. `?user=John&user=Pete`), - **`has(name)`** -- check for the existance of the parameter, - **`set(name, value)`** -- set/replace the parameter, - **`sort()`** -- sort parameters by name, rarely needed, diff --git a/8-web-components/5-slots-composition/article.md b/8-web-components/5-slots-composition/article.md index 9add9dc7..6ddc4424 100644 --- a/8-web-components/5-slots-composition/article.md +++ b/8-web-components/5-slots-composition/article.md @@ -420,7 +420,7 @@ The process of rendering slotted elements inside their slots is called "composit Composition does not really move nodes, from JavaScript point of view the DOM is still same. JavaScript can access slots using methods: -- `slot.assignedNodes/Elements()` -- returns nodes/elements inside the `slot` +- `slot.assignedNodes/Elements()` -- returns nodes/elements inside the `slot`. - `node.assignedSlot` -- the reverse meethod, returns slot by a node. If we'd like to know what we're showing, we can track slot contents using: