JavaScript
JavaScript (noun) means a programming language that runs inside a web browser and makes pages do things — respond to clicks, update without reloading, validate what you type, animate elements. It also runs on servers and other devices. Example: “The dropdown menu is written in JavaScript, so it will not open if scripts are blocked.”
How to use JavaScript
Learner’s notesIn plain EnglishJavaScript is the code that makes a web page actually do things when you use it.
Abbreviated JS in everyday developer speech and in filenames (.js). Capitalised with an internal capital S.
JavaScript and Java are separate, unrelated languages with different designers, different syntax and different uses. The similar name is a marketing decision from the 1990s, not a family relationship.
Trace the full origin ↓Fill the gap
Can you complete this real example?
The dropdown menu is written in _____, so it will not open if scripts are blocked.
Etymology
From Java, the name of an unrelated programming language, plus script. The language was originally released under a different name and renamed to JavaScript for its launch.