Skip to main content

JavaScript and the DOM

Learn JavaScript and the DOM (Module 1 · Web Development Fundamentals, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

JavaScript fundamentals • JavaScript is the programming language browsers run. If HTML is the skeleton and CSS the skin, JavaScript is the muscles. Angular is written in TypeScript, which compiles to JavaScript, so you must know the basics. • Declare variables with const (cannot be reassigned) and let ; avoid var. Types: string, number, boolean, null, undefined, object, array. Functions can be written as arrow functions.

More lessons in Module 1 · Web Development Fundamentals