English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories



Simple Quiz




2006-10-25 11:17:08 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

Its this line
alert("You answered " + firstAnswer + "\r "The correct answer is packet-switching.");
It should be!!!
alert("You answered " + firstAnswer + "\r The correct answer is packet-switching.");

Extra quotation marks.
I get a yellow triangle in the bottom left corner of my ie browser. If I double click on this it tells me the error and the line of the error!!
If you put a basic alert in your code you will also know what lines are valid.
Like a simple
alert("Hello");
That is all it takes.

The best programmers can debug their own code!!

2006-10-25 11:28:00 · answer #1 · answered by AnalProgrammer 7 · 0 0

my html checker indicated there was a parameter missing in your script code

2006-10-25 11:39:31 · answer #2 · answered by webneck 5 · 0 0

fedest.com, questions and answers