[Solved] What is wrong with this basic Javascript code? [closed]
I found some issues with your code, just simple stuff that every beginner goes through (I did), I’ll bullet them off: MyTitle isn’t myTitle, JavaScript variables are case-sensetive. You should stay away from the onclick attribute; he’s a bad influence. The point, inline JS is generally not a good idea. So I added an event … Read more