Javascript What Am I Doing Wrong On This Dark Mode Button Stack

Javascript What Am I Doing Wrong On This Dark Mode Button Stack