I'm trying to learn Jquery from codeacademy.com but i can't get my code to work.
It works in the codeacademy.com website but not in my text file. The following html, css and jquery are supposed to make the div boxes shrink and grown when you mouse hover over them. But they dont. Whats wrong with it? I even tried linking the google hosted java thingy (4th line in the html) and it doesn't say to necessarily do that. But even that didn't help.
Yes, you do need to include that google hosted thingy, since it's a jQuery library and without it, you can't use any of that $(something) fancy stuff. However, you have a typo in it's address:
Actually, it's not a typo, it's protocol relative URL, however, if you access your script via a local file, it will try to request it via file://, which won't work...
If you are happy with the solution: Top of the comments > Thread Tools > Mark Thread Resolved
Bookmarks