Chapter 1 deck Chapter 2 deck Chapter 3 deck Chapter 4 deck Chapter 5 deck Chapter 6 deck Chapter 7 deck Chapter 8 deck Chapter 9 deck Chapter 10 deck Chapter 11 deck Chapter 12 deck Chapter 13 deck Chapter 14 deck

JavaScript Origin & Overview

5 slides · use ←/→ or Space to navigate, F for fullscreen.

Reading view

← Back to the full Chapter 5 deck

JavaScript Origin & Overview
Fullscreen for presentation · Print / PDF for a handout
1 / 5
Lesson

JavaScript Origin & Overview

Where JavaScript came from, what it is, and how it powers both the client and the server.

JavaScript Origin & Overview

JavaScript Origin

  • Created in just 10 days by Brendan Eich while working at Netscape Communications in 1995.
  • First appeared in 1995 as a scripting language for web pages, initially called LiveScript before being renamed.
  • ECMAScript defines the rules and guidelines. JavaScript is an implementation of ECMAScript, enabling programmatic access to computational objects.
  • Other implementations: JavaScript by Netscape, JScript by Microsoft, and ActionScript by Adobe.

“Learning JavaScript used to mean you were not a serious software developer. Today, not learning JavaScript means the same thing.” — Tim O'Reilly, founder of O'Reilly Media

JavaScript Origin & Overview

Overview of JavaScript

PropertyDetail
High-level languageAbstracts away low-level machine details, making it accessible.
Runs in all browsersThe only programming language that runs natively in all major web browsers — essential for front-end development.
Embedded in HTMLCan be embedded directly into HTML documents, or referenced via external .js files.
Dynamic & interactiveResponds to user input, dynamically updates content and creates animations — without reloading the page.

JavaScript and Java are related only through their names and some syntax. Java is compiled and statically typed; JavaScript is interpreted and dynamically typed.

JavaScript Origin & Overview

Client-Side vs Server-Side

Client-sideServer-side (Node.js)
Runs inside the user's browser
Creates dynamic & interactive pages
Responds to user input in real time
Validates forms before server submission
Updates content without a full page reload
Frameworks: React, Angular, Vue.js
Runs on the web server (via Node.js)
Handles complex business logic
Interfaces with databases
Builds APIs and back-end systems
Enables full-stack development
Single language across the entire stack
JavaScript Origin & Overview

Activity — complete the code

Complete the script: JavaScript is an implementation of the ECMAScript standard.

<!DOCTYPE html>
<html>
<head>
<title>Hello JS</title>
</head>
<body>
<script>
// JavaScript is an implementation of
document.("Hello, world!");
</script>
</body>
</html>