0
Script and Javascript
if i need to bring a javascript from a specific site with its own specific library and i need to be able to use said code for use everywhere..how would i be able to use said code? would i have to create it somewhere else? idk how to explain it fully but what i need to do ts essentially create a program offline from a seperate library
1 Answer
0
Hi Hunter
If you are not serving your HTML or JS from a server you can work on it on your local PC. Just create a directory to put all you files into eg "my website"
then in your directory you will need to have a main HTML file that pulls in all your libraries and code.
This is typically called "index.html"
Inside index.HTML you can then put in the file path to you libs
Then when you open index.html with your browser your local website will be displayed.
Hope this helps