From 28a0142718dcad621dfecdb99fe6f2965edf5f0d Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 17 Apr 2022 10:46:30 -0700 Subject: Created custom directory, moved background out of main file (to custom) --- assignment_list.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'assignment_list.js') diff --git a/assignment_list.js b/assignment_list.js index 6955328..1c153fb 100644 --- a/assignment_list.js +++ b/assignment_list.js @@ -1,7 +1,3 @@ -//set background image -const bg_image = ["rubber_duck_PNG33.png", "dice.png"]; -document.getElementById("bg").style.backgroundImage = "url(" + bg_image[Math.floor(Math.random() * bg_image.length)] + ")"; - //Function to get date function get_day(d){ if(!d) d = new Date(); -- cgit