Hello! This is my first post so I'd like to start by thanking the team here at Dev Shed for their work, and I'd also like to thank the open source community as well for all the help I'll undoubtedly receive along the way.
output = "PROBLEM";
The good news is that the code works fine.
wasn't in the book. I had some trouble figuring out how to make the code show up in the browser but figured it out after a few minutes.
My question is... Do switches automatically generate client-side alerts? Or was there an error in the writing of the book?
From what I've gathered in the book, the author would lead me to believe that my last piece of code wasn't necessary, and the alert would automatically be generated, but after trying it in 4 browsers i can say with certainty that the code wouldn't generate an alert until after i amended it.
My reason for asking is that I want to ensure i have a thorough knowledge of exactly what why and how i'm learning web development.