Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ttruong-LIL authored Jan 11, 2021
1 parent 04e17ce commit 565b85e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 06_03/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ document.querySelector(".left .color-value").innerHTML = color;
document.querySelector(".right").style.backgroundColor = color;
document.querySelector(".right .color-value").innerHTML = color;

function headingColor() {
color = "blue";
document.querySelector(".title").style.color = color;
}
// function headingColor() {
// color = "blue";
// document.querySelector(".title").style.color = color;
// }

headingColor();
// headingColor();

0 comments on commit 565b85e

Please sign in to comment.