JavaScript Tutorial
JavaScript is used on the web EVERYWHERE (apart from in flash+java :P)
To add javascript code you either put <script> tag in the html and work from there or do this: <script src=scriptname.js>
For example I'm going to write "I like Choclate" test this out in your scripts
<script>
document.write(<p>I like Minecraft</p>)
</script>
However if you want to overwrite the document do this
<script>
function luvMC {
document.write(<p>I like minecraft<p>)
}
</script>
This will only temporarily overwrite the html document
For example I'm going to write "I like Choclate" test this out in your scripts
<script>
document.write(<p>I like Minecraft</p>)
</script>
However if you want to overwrite the document do this
<script>
function luvMC {
document.write(<p>I like minecraft<p>)
}
</script>
This will only temporarily overwrite the html document