Archive:Debugging challenges: Difference between revisions
wikademia>BotheredByBees No edit summary |
wikademia>BotheredByBees |
||
| Line 10: | Line 10: | ||
</script> | </script> | ||
== Challenge 2 - | == Challenge 2 - Syntactic Errors == | ||
A syntax error occurs when you use the right symbols, but in a way that doesn't make sense to the compiler or interpreter. Something like the English sentence: "You don't program good" | A syntax error occurs when you use the right symbols, but in a way that doesn't make sense to the compiler or interpreter. Something like the English sentence: "You don't program good" | ||
| Line 22: | Line 22: | ||
} | } | ||
document.write("Right, the answer is " + x) | document.write("Right, the answer is " + x) | ||
</script> | </script> | ||
== Challenge 3 - Execution Errors == | == Challenge 3 - Execution Errors == | ||