diff --git a/snippets/hide.md b/snippets/hide.md
index e8024ddb9..b19486df4 100644
--- a/snippets/hide.md
+++ b/snippets/hide.md
@@ -9,5 +9,5 @@ const hide = (...el) => [...el].forEach(e => e.style.display = 'none');
```
```js
-hide(document.querySelector('img')); // Hides all
elements on the page
+hide(document.querySelectorAll('img')); // Hides all
elements on the page
```