We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cfe11ce + c392dde commit 6091976Copy full SHA for 6091976
1 file changed
22 - Follow Along Link Highlighter/index-FINISHED.html
@@ -29,7 +29,7 @@
29
const triggers = document.querySelectorAll('a');
30
const highlight = document.createElement('span');
31
highlight.classList.add('highlight');
32
- document.body.append(highlight);
+ document.body.appendChild(highlight);
33
34
function highlightLink() {
35
const linkCoords = this.getBoundingClientRect();
0 commit comments