Your first basic code![/u]]
We will be outputting text. Alright, what do we put first? You guessed it!
Your "JSDetector" will be inserted like this:
Code:
<script type="text/javascript">
</script>
We will now type in "between these 2 codes, "document.write();".
This just tells JS to output the text in the parenthesis.
When typing numbers, you just put it in the parenthesis such as "
document.write(777);".
When typing letters they must be put in qutations such as "
document.write("Hey!");"
When we finally finish the code, it will look like this.
Numbers:
Code:
<script type="text/javascript">
document.write(777);
</script>
Letters:
Code:
<script type="text/javascript">
document.write("Hey!");
</script>
That is your "basic" output text!