Skip to content Skip to sidebar Skip to footer

Javascript External File Not Linking Correctly

This is my first javascript that I have ever wrote aside from a few alerts and also my first post. So I have created an Html page and a external javascript file. Both files are in

Solution 1:

You forgot the () at the end of the function names.

 <button id="button1" onclick="divGrow()">Grow</button>
 <button id="button2" onclick="divColor()">Blue</button>
 <button id="button3" onclick="divFade()">Fade</button>
 <button id="button4" onclick="divReset()">Reset</button>

Post a Comment for "Javascript External File Not Linking Correctly"