javascript file not working when linked from HTML

后端 未结 7 1347
粉色の甜心
粉色の甜心 2021-01-17 23:52

so I feel(and hope) this is pretty simple. I am new to javascript and am trying to get this working. When I link to my external .js file from my html it does not function. H

7条回答
  •  耶瑟儿~
    2021-01-18 00:03

    Your script contains jQuery.In order to use it, you have 2 options:

    1. Download it to your web page:

    • Dowload the production version from jQuery.com
    • In the section add:

    2. Include jQuery from a CDN:

    • You can use Google's CDN by adding the following to the section:

提交回复
热议问题