Trying to Switch Background Images on Toggle

Hi all,

I’m trying to toggle between two backgrounds when the day/night button is triggered. I am aware that you can change the background color, but I’m curious if you can do it with images too.

The link for reference:

Here is my public share link:
(how to access public share link)