We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5efad6 commit 663fd30Copy full SHA for 663fd30
blocks/sample/sample.js
@@ -1,4 +1,5 @@
1
-function highlightText(){
2
- let headings = document.querySelectorAll("h1");
3
- headings.style.background = "#e1e2eb";
+function highlightText(){
+ const headings = document.querySelectorAll('h1');
+ headings.style.background = '#e1e2eb';
4
}
5
+highlightText();
0 commit comments