Anybody that knows some javascript want to help me out?
I had my html file and it is linked to my .js and it was working perfectly, everything showing up on the screen, although I was using confirm( ) and prompt( ) a ton. I tried my .html after a bit of editing, now nothing will show up. So I tried it with a new .js file and only had confirm( " Show up? "); and still nothing. Anybody know why?
This is my .html (really simple, I'm pretty sure nothing is wrong with it)
Code:
Here is the .js file: (a basic text adventure game for my little brother)
http://pastebin.com/tiJSTLDv
I had my html file and it is linked to my .js and it was working perfectly, everything showing up on the screen, although I was using confirm( ) and prompt( ) a ton. I tried my .html after a bit of editing, now nothing will show up. So I tried it with a new .js file and only had confirm( " Show up? "); and still nothing. Anybody know why?
This is my .html (really simple, I'm pretty sure nothing is wrong with it)
Code:
<!DOCTYPE html>
<html>
<head>
<title>CYOA-Daniel T</title>
</head>
<body>
<script type="text/javascript" src="NCYOA.js"></script>
</body>
</html>
Here is the .js file: (a basic text adventure game for my little brother)
http://pastebin.com/tiJSTLDv