Running JavaScript

javascript
java

#1

I am learning JavaScript and am extremely interested in making games and other codes. I was learning it also on Khan Academy, and I heard about Code Academy, so I tried it out. I have 3 questions about JavaScript:
1. Am I learning a different type of JavaScript on Code Academy compared to Khan Academy, or is it a different language?
2. What is the difference between Java and JavaScript?
3. Where am I supposed to run JavaScript when I am done with Code Academy? Is there an app I can get, or a website I can use? I have a MacBook Pro, just saying that in case if there are apps/websites that only work on a Mac.
Thank You for the help!


#2

I did KhanAcademy like 3 years ago, don't remember anything about it, except that it isn't valid JavaScript.

Java and JavaScript aren't even related.
The World is the difference.

You can combine it with HTML/CSS and make awesome websites.


#3

Thank you for the help @cadecodes!
I have a question though:
Where would I code and run the HTML/CSS?
And what is CSS?
HTML is like the Khan Academy one i think. Im not super far in Khan Academy though, so I don't think I have gotten to HTML yet. I think that they have CSS.


#4

HTML stands for Hypertext Markup Language.

CSS stands for Cascading StyleSheets.

KhanAcademy teaches some funky version of jQuery (A JavaScript Library).

You can get a host/domain name and make websites with all three.


#5

Thank you again @cadecodes!
I still don't understand what the difference is between HTML and CSS. I understand that they are abbreviations for different things.


#6

Difference:

http://www.the-webcoach.com/design-development/html-css/what-is-the-difference-between-html-and-css/


#7

@noahsilverberg,

Reference

google search
== the Book ==
javascript [your question] site:developer.mozilla.org

== discussions / opinions ==
javascript [your question] site:stackoverflow.com
java vs javascript site:stackoverflow.com
for instance
http://stackoverflow.com/questions/245062/whats-the-difference-between-javascript-and-java

== guidance ==
www.crockford.com
http://javascript.crockford.com/code.html <---JavaScript code-convention
http://javascript.crockford.com/survey.html
https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
www.developer.mozilla.org/en-US/docs/Web/JavaScript/Guide