From 52880f08ee92f194b9a2235dc2f763e7d035a416 Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Tue, 20 Oct 2020 11:46:23 +0300 Subject: [PATCH] Update document, window --- snippets/arrayToHTMLList.md | 2 +- snippets/copyToClipboard.md | 2 +- snippets/counter.md | 2 +- snippets/currentURL.md | 2 +- snippets/elementIsVisibleInViewport.md | 2 +- snippets/getProtocol.md | 2 +- snippets/injectCSS.md | 4 ++-- snippets/prefersDarkColorScheme.md | 2 +- snippets/prefersLightColorScheme.md | 2 +- snippets/prefix.md | 2 +- snippets/recordAnimationFrames.md | 2 +- snippets/redirect.md | 2 +- snippets/scrollToTop.md | 4 ++-- snippets/serializeForm.md | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/snippets/arrayToHTMLList.md b/snippets/arrayToHTMLList.md index 9dedaafa5..9a07d585e 100644 --- a/snippets/arrayToHTMLList.md +++ b/snippets/arrayToHTMLList.md @@ -5,7 +5,7 @@ tags: browser,array,intermediate Converts the given array elements into `
  • ` tags and appends them to the list of the given id. -- Use `Array.prototype.map()` and `document.querySelector()` to create a list of html tags. +- Use `Array.prototype.map()` and `Document.querySelector()` to create a list of html tags. ```js const arrayToHTMLList = (arr, listID) => diff --git a/snippets/copyToClipboard.md b/snippets/copyToClipboard.md index f63abf5e5..d9f93ff55 100644 --- a/snippets/copyToClipboard.md +++ b/snippets/copyToClipboard.md @@ -8,7 +8,7 @@ Only works as a result of user action (i.e. inside a `click` event listener). - Create a new `