What is JavaScript?
user
Well... JavaScript is a programming language, so it is a programming language, it just happens to be used for a wide variety of tasks.  JavaScript is great because it's very easy to learn.  In fact, it's a good choice if you're just trying to write a quick script to solve a specific problem, rather than create an entire program or website.  For example, you can use it to help a web page create animated transitions.
assistant
About the name of this programming language - is it called Java or JavaScript?
user
Java is the name of the programming language that is related to JavaScript, although there are some subtle differences in the languages that make them distinct.
assistant
So, what is the difference between Java and JavaScript?
user
Java is a language that's used for creating applications and writing server-side code.  JavaScript is a scripting language, meaning that it's used for executing code inside web pages and web applications.  (The examples I gave a second ago would both be written in JavaScript.)
assistant
What is JavaScript?
user
Well... JavaScript is a programming language, so it is a programming language, it just happens to be used for a wide variety of tasks.  JavaScript is great because it's very easy to learn.  In fact, it's a good choice if you're just trying to write a quick script to solve a specific problem, rather than create an entire program or website.  For example, you can use it to help a web page create animated transitions.
assistant
About the name of this programming language - is it called Java or JavaScript?
user
Java is the name of the programming language that is related to JavaScript, although there are some subtle differences in the languages that make them distinct.
assistant
So, what is the difference between Java and JavaScript?
user
JavaScript is called “JavaScript” (or “JS”) for the most part because that’s what it’s called in the language.  Whereas Java is the name of the programming language itself.
assistant
What is JavaScript?