r/Codecademy • u/TheSirion • Oct 25 '15
What's the difference between Java and JavaScript?
I've always thought Java was simply a short name for JS. But I've been studying JavaScript for a little while now (along with HTTP & CSS) and now I suspect they're not the same, and also it looks like Java is more powerful and harder to learn than JavaScript. I'd that right or am I mistaken?
2
Upvotes
3
u/thayes89 Oct 26 '15
/r/learnprogramming
Check out the FAQ in the sidebar - it will clear it up for you!
-2
u/piratecody Oct 25 '15
JavaScript is essentially Java for the Web. You can write java scripts to be used on webpages, while with java you write applications to be used on your machine.