+ 1

What is java script

i cant understand what is java script and what is the usage in web pages. also what is the diference between java and js (im new programming as you can see)

7th Jul 2017, 4:24 AM
Daniel Uribe
Daniel Uribe - avatar
4 Respostas
+ 3
So, we use HTML to tell the webpage: "oh, this goes here, that goes there" and so on and so forth. CSS is used for saying "Make this look pretty, and that one look like this, blah blah blah". JavaScript, however, is moreso where we get into making things happen. "So when I hover over this box, it'll drop down". In essence, HTML is for structure, CSS is for style, and JS is for behavior. To answer your question about Java and JavaScript being related: they're not. JavaScript just took the name and mushed it together with "Script", mainly because it's a scripting language instead of a compiled language)
7th Jul 2017, 4:46 AM
Keto Z
Keto Z - avatar
+ 2
Javascript is a scripting lqnguage that used to make web pages interactive by running on the website visitor's computer. Java is an Objected Oriented Programming language, whereas Javascript is an Object Oriented Scripting language.
7th Jul 2017, 4:42 AM
Infant Raj
Infant Raj - avatar
+ 2
Javascript is an interpreted scripting language that's main use is to enable functionality to a webpage. Mainly the clients (users) side of the browser. Javascript is used in a vast majority of websites. Java is a compiled programming language, which has the main use of a variety of things. Such as: Mobile games via Android, Server side of web applications, and probably much more. Java is used in more than 3 billion devices. They are not that similar. Do not say Java if you mean Javascript and vise versa. Similar thing with C, C# & C++, all different (however some more similar) languages.
7th Jul 2017, 4:45 AM
Rrestoring faith
Rrestoring faith - avatar
+ 2
See example here and upvote the code https://code.sololearn.com/WCnNImldl210/?ref=app
7th Jul 2017, 7:28 AM
Ata
Ata - avatar