Electron and Node js Problem


#1

Me and my friends are making a program using electron and node js and everytime when I try to access to the HTML file for lets say that I change the background color so I do this:
document.body.style.backgroundColor = “White”;
it tells me that document is not defined. help?


#2

It might help if you share your code. In this case, it would be most helpful for us to be able to see the whole project so that we can see how the call is being made.


#3

I already found a solution.