to move data-processing in-line like this. to address processing.js directly to web-source: To do this, the only modification your method needed is: I was trying to run Khan academy js directly in html code without a need to download any files or using any external files. If you open the file with Notepad (don't use Word) you should see the line: I've written a very basic HTML file (called main.txt) which you can download at the bottom of this page (change the filename to main.html). You can open HTML files with your browser even if they are on your computer and not on the internet. Webpages are written in a language called Hyper Text Markup Language (HTML) which tells your browser what to display. You need to display your program somewhere and that somewhere is a web page. For security reasons, Chrome doesn't work when opening trying to run this type of file on your computer (unless you set up a simple server) so for this I recommend using Firefox. This program is a program that opens web pages like the one you now to view this page. Your program is written in Javascript and it is interpreted by your browser. One thing you don't need to download is Javascript. You will want to create a folder somewhere on your computer to keep all the files of this project in. You can download the files you need here. To run a KA program you need a few things, all of which are easy to get.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |