+ 1

JQuery code

I have an ongoing issue where the code in my js. External file nor my JQuery are executing properly. I’ve tried the code as both just a script in HTML and within a JavaScript external ad neither appear to work. Any suggestions on troubleshooting the issue? Below is the is a link to the files and the coding. https://code.sololearn.com/Wol1jxpn67Y5/?ref=app

12th Jul 2018, 12:00 AM
Bayshawn Davis
Bayshawn Davis - avatar
5 ответов
+ 2
Bayshawn What type of ongoing issues are you having and where is your script?
12th Jul 2018, 1:02 AM
ODLNT
ODLNT - avatar
+ 2
Well first there isn't any jQuery in this project. Second you actually have to include the jQquery library. You're linking a local version of it which doesn't exist.
12th Jul 2018, 3:45 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Check this out, then try correcting your link. https://www.w3schools.com/htmL/html_filepaths.asp Note that linking scripts doesn't work properly when it's on SoloLearn. Test it from your local drive.
12th Jul 2018, 4:53 AM
James
James - avatar
+ 1
I don't see any JavaScript/jQuery. If it's all external, can you link us to the external code too? Also, explain where and how you are saving it.
12th Jul 2018, 3:16 AM
James
James - avatar
+ 1
thanks for the responses guys. I really appreciate it. So the js file I was working with is an external one. the first question I had, Ben Allen you answered it. I was concerend about whether the link that is coded into the head was correct. Is there a non local JQuery library that I will able to link to? if so, where can I find it? ive tried the w3school link as well as the compressed version from jquery website and neither worked. im sure its a syntax error hence why I posted the html. the second issue I had was even when I used just the script tag in html, the js coded into it didnt execute. After refelction i’m assuming its because the js link in the head was incorrect. is this a valid assumption? I uploaded the code from my laptop and im currently out. so when I get in i will upload the js file that I’ve been working with
12th Jul 2018, 4:16 AM
Bayshawn Davis
Bayshawn Davis - avatar