So I’ve been teaching myself jQuery using Codeacademy, and I have actually picked up a lot from it. One thing I’m not understanding is why this is not working. I’m sure my linking is wrong.. I might try writing the script directly on my index.html page.
So I added your new code and it still seemed not to work.
This is the jQuery code I am using. I don’t think I linked it correctly.. Do I have to link the jQuery page to my HTML one and do something else? All I have done is linked my jQuery page to my HTML page.
Here is my jQuery code:
Hmm.. Works on codepen now. I think there might be a problem with viewing my website through Dreamweaver on the internet? You know.. Using the “Preview/Debug in Browser” button on Dreamweaver instead of uploading it to a server.