Javascript – When I submit my form, it refreshes, overriding my preventdefault() method. I can't fix it
I initially had it working, but when I added the dark mode toggle, it began to read the dark mode toggle as a submit event, and would change the colour of the beer bottle and display the enter/Don't come in…