I have an HTML page that I want to perform several lines of js code on. For now I'm just trying one thing:
document.getElementById("title").style.color = "blue";
This is in jsPage.js the within the head of my html page I have
<script src="jsPage.js"></script>
I thought this was all that was necessary. But my title is staying red (this is what it is set to in the css doc attached to html page) instead of turning blue. Am I missing some standard declaration or something in the js file?