Help with phpstorm and jquery
I try to make my first webpage with jquery but when i want to test my page(local) nothing happends....
On my JS file i see right above te page that it says: Off... ( i put a image below)
i can't figure out why it doesn't work....
If anyone can help me.... :)
Please sign in to leave a comment.
I cannot see in your file tree that there is a directory js with jquery in it. In your html you referenced it to be in a subfolder of your web root folder, where your index.html is, but there does not seem to be a js subfolder with the jquery libs in it.
I don't'understand...

i have put the jquery in a folder... see the picture below:
What am i doing wrong...?:|
Hi there,
You files (app.js etc) are located at "C:\Users\Wilson\Desktop\Juuls Website (eindopdracht)" folder
But your project (index.html) is opened from "C:\Users\Wilson\AppData\Local\Temp\index.html0.tmp" folder (as I understand from your screenshots)
This makes your app.js and jquery.js files located outside of the project. For such files IDE does not perform any analysis by default (hence the "OFF" label).
I've no clue how you did that .. but I suggest to close and remove this project from IDE and use "Open" action and point to the actual project location (the first path).
Ahh i see what you mean.

So i fixed that.. but still my jquery doesn't work...
I'm not 100% sure but....
1) Your folder is named `Js` but in index.html is referenced as `js` (upper vs lower case) -- maybe it makes the difference...
2) Your app.js seems to be located in root folder (next to index.html) and not inside `js` folder.
If you have nothing "private" in your code -- please share whole project (e.g. zip whole project folder and attch here).
Andriy Thankyou so much !!!! :)that was the issue.