JQuery on Brackets


#1

Does anyone know how to use JQuery on Adobe Brackets text editor?
My code is on the screenshot below and it should be an image slideshow but it only is a black bar in the middle of the page if i live preview it.
Appreciate every answer.


#2

these two things are not related? Brackets and other text-editor only serve to write code. The problem is how to include jquery regardless of text-editor used

Jquery is a JS library, you need to include before you can use it (the jquery library should be linked before the JS file which uses jquery code)

google hosts a whole bunch of libraries:

https://www.google.nl/search?q=google+hosted+libraries&ie=utf-8&oe=utf-8&gws_rd=cr&ei=C_KOWfvCNsfwaoTqq6gE

which you can link directly using script tags. Otherwise you can download the necessary files from the official jquery website:

http://jquery.com/


#3

thank you for your anwer. Sorry i didn’t quite get it, where do I have to put in the script tag?


#4

you need to include script tags and give them a src attribute to include jquery library before the script tags which source a JS file featuring code