Skip to content
Learn Netverks

Lesson

Step 2/36 6% through track

what-is-javascript

What is JavaScript?

Last reviewed May 28, 2026 Content v20260528
Track mode
client_javascript
Means
In-browser JS
Reading
~1 min
Level
beginner

This lesson

This lesson teaches What is JavaScript?—the ideas, syntax, and habits you need before moving on in JavaScript.

Without a solid grasp of What is JavaScript?, you will repeat mistakes in JavaScript exercises and on real pages or scripts.

You will apply What is JavaScript? in contexts like: Browsers, Node.js services, edge workers, and tooling ecosystems (bundlers, test runners).

Run JavaScript in the in-browser sandbox, use the terminal output panel, and verify with MCQs.

Start here at the beginning of the javascript track before skipping ahead.

JavaScript (JS) is a high-level, dynamic language standardized as ECMAScript. It runs in browsers, on servers (Node.js), and in many embedded runtimes.

Where JS runs

  • Browser — DOM, events, fetch, Web APIs
  • Node.js — files, HTTP servers, tooling (see Node.js track)
  • Edge / workers — short-lived functions close to users

What it is not

Not Java (different language). Not only for animations—it's a general-purpose language with a huge ecosystem (npm).

Important interview questions and answers

  1. Q: JS vs Java?
    A: Unrelated languages despite similar names.
  2. Q: Is JS only front-end?
    A: No—Node.js and edge runtimes use it on servers too.

Self-check

  1. List three places JavaScript runs.
  2. Why is npm relevant?

Tip: Re-run the playground code for what-is-javascript and tweak one line before the MCQs.

Interview prep

JS vs Java?

Different languages despite the name.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • What would you log to verify this behavior?
  • What breaks if you run this before the DOM is ready?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump