File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
2-ui/1-document/04-searching-elements-dom Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ If there are multiple elements with the same `id`, then the behavior of methods
7171```
7272
7373```warn header="Only `document.getElementById`, not `anyElem.getElementById`"
74- The method `getElementById` that can be called only on `document` object. It looks for the given `id` in the whole document.
74+ The method `getElementById` can be called only on `document` object. It looks for the given `id` in the whole document.
7575```
7676
7777## querySelectorAll [ #querySelectorAll]
@@ -363,7 +363,7 @@ There are 6 main methods to search for nodes in DOM:
363363</tbody>
364364</table>
365365
366- By far the most used are `querySelector` and `querySelectorAll`, but `getElementBy *` can be sporadically helpful or found in the old scripts.
366+ By far the most used are `querySelector` and `querySelectorAll`, but `getElement(s)By *` can be sporadically helpful or found in the old scripts.
367367
368368Besides that:
369369
You can’t perform that action at this time.
0 commit comments