Zum Inhalt springen
KodeTrail

Camp 1 · Schritt 1 von 18

What is JavaScript?

The only language every browser speaks — where it came from, what it powers, and why it's a superb place to start.

8 Min.+50 XPAuf Englisch angezeigt — Übersetzung ist unterwegs

Right now, as you read this page, JavaScript is running. It powers the theme toggle, the progress bar, and the playground below. JavaScript is the language of the web — the only programming language every browser on Earth understands natively.

What JavaScript actually does

A web page is built from three layers:

LayerJobAnalogy
HTMLstructure & contentthe skeleton
CSSappearancethe clothing
JavaScriptbehaviorthe muscles

When a page reacts — a menu opens, a like counter climbs, a form warns you about a typo — that's JavaScript listening and responding.

It escaped the browser

JavaScript was famously created in 10 days in 1995 by Brendan Eich. It has since grown far beyond the browser:

  • Servers run it via Node.js (Netflix, PayPal, LinkedIn)
  • Mobile apps ship with React Native
  • Desktop apps like VS Code and Discord are largely JavaScript
  • Even this learning platform is built with it

One language, everywhere — which is why JavaScript skills are among the most in-demand on the planet.

Your first taste

Every playground on this trail runs real JavaScript instantly, right here:

JavaScript

Press Run. console.log is JavaScript's way of printing output — your constant companion from here on.

Checkpoint

Which layer of a web page does JavaScript provide?

What's next

Time to get comfortable with console.log and the browser console — your workshop for everything ahead.