troubles with js logic gates
i was trying to learn javascript in order to program websites i already knew html and css and thought about making a simple logic gate, but once i had built it i couldnt get it to work. this is the html doc with the script below.