Counter app troubleshooting
Hey everyone. I have finished my counter app, besides being stuck on 2 issues. When getting the background to change color, it only triggers when the count is reversed. For example, I count to 5 but the background does not go green until decreasing the count to 4, it will also remain green going below 0 when I should be red but will not turn red until reversing the count say from -5 to -4. I'm also struggling to save more than 1 number. any feedback would be great! https://codepen.io/MorganHenderson/pen/ByNeMNb