Looking at the JavaScript and HTML below, answer the questions in the quiz to the right. Through the magic of JavaScript, your quiz will be automatically scored as you take it.
<script type="text/javascript"> function showAlert(myName) { if (myName == "Andrew") { alert("Hello " + myName + "!"); } else { alert("Hello world!"); } } </script> </head> <body> <a href="#" onclick="showAlert('Andrew')"> Say hello.</a>
And now, back to our agenda!