JavaScript code not running in HTML5 document

I’m beginning HTML5 development, and I’m already in trouble with javascript in HTML code:

<script>

// javascript code

</script>

If i write my code in HTML only, there’s no problem, As soon as I add javascript code, only HTML works but javascript doesn’t seem to exist while debugging.

May I link some libraries for JS language? I tryied to create a separate .js file, same problem.

PS. I’m working with Komodo Edit

Thanks for possible solutions.

Leave a Comment