From c392dde7730034f29e11ee6d315b6c70d436fda4 Mon Sep 17 00:00:00 2001 From: Rafael Bastiansch Date: Tue, 10 Jan 2017 23:16:16 -0200 Subject: [PATCH] change append() to appendChild --- 22 - Follow Along Link Highlighter/index-FINISHED.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/22 - Follow Along Link Highlighter/index-FINISHED.html b/22 - Follow Along Link Highlighter/index-FINISHED.html index 74bd06e..869d8da 100644 --- a/22 - Follow Along Link Highlighter/index-FINISHED.html +++ b/22 - Follow Along Link Highlighter/index-FINISHED.html @@ -29,7 +29,7 @@ const triggers = document.querySelectorAll('a'); const highlight = document.createElement('span'); highlight.classList.add('highlight'); - document.body.append(highlight); + document.body.appendChild(highlight); function highlightLink() { const linkCoords = this.getBoundingClientRect(); -- knotmirror 0.0.1