diff --git a/week-8/background-changer/index.html b/week-8/background-changer/index.html index e4dc4f4..29581e7 100644 --- a/week-8/background-changer/index.html +++ b/week-8/background-changer/index.html @@ -19,6 +19,10 @@ document.body.style.backgroundColor = this.value; }); + colorPicker.addEventListener("input", function() { + document.body.style.backgroundColor = this.value; + }); +