What is Javascript?

What JavaScript does on the web, your first console.log, and how to read errors without panicking.

Video

What is Javascript?

0:00 / 0:00

Notes

What you'll learn

  • What JavaScript does on the web
  • How HTML, CSS, and JavaScript fit together
  • Your first line of code with console.log
  • What a string and a variable are
  • How to read errors without panicking

What is JavaScript?

JavaScript is the language that makes websites do things. Buttons that respond when you click them, forms that check your input, games, live updates without reloading the page. That behaviour is JavaScript.

You also see JavaScript in apps and tools, but this course starts in the browser.

Think of a house: HTML is the frame, CSS is the paint and furniture, JavaScript is the wiring and switches.

Your first line of code

Open your browser console or use any JavaScript playground. Type this and run it:

console.log("Hello, Blazepath!");

Watch the video for more information