From 1cdae8b2c268b85fe294888ab40a037502f538f1 Mon Sep 17 00:00:00 2001 From: raj980 <38130162+raj980@users.noreply.github.com> Date: Thu, 1 Oct 2020 07:00:11 +0530 Subject: [PATCH] Update application.js --- application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.js b/application.js index 7e62886..d052c51 100644 --- a/application.js +++ b/application.js @@ -4,11 +4,11 @@ function showContent(){ console.log(hidden); } function bubbleOut(n){ - var changeColors = document.getElementById("circle" + n); + var changeColors = document.getElementById("Square" + n); changeColors.style.fill = "rgb(" +rgb()+ "," +rgb()+ "," +rgb()+ ")"; } function rgb(){ - return Math.floor(Math.random() * 256); + return Math.floor(Math.random() * 789); } // function changePictures(n){ // var changePictures = document.getElementById("pic" + n);