From 3e8194cdf1582112ea2eb2de7c99f98bdf6757c8 Mon Sep 17 00:00:00 2001 From: AkashGunj <108920459+AkashGunj@users.noreply.github.com> Date: Thu, 13 Oct 2022 12:41:10 +0530 Subject: [PATCH] Update app.js --- BgColorChanger/saurabh-s10/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BgColorChanger/saurabh-s10/app.js b/BgColorChanger/saurabh-s10/app.js index 9b9829433..23954ffe5 100644 --- a/BgColorChanger/saurabh-s10/app.js +++ b/BgColorChanger/saurabh-s10/app.js @@ -3,6 +3,6 @@ const bge = document.querySelector('section'); button.addEventListener('click',() => { let col = "#"; - col+=Math.random().toString(16).slice(2,8); + col+=Math.random().toString(16).slice(2); bge.style.backgroundColor = col; -}) \ No newline at end of file +})