JavaScript Fundamentals
Learn the core of JavaScript with Node.js: variables, control flow, functions, arrays, objects and error handling.
Modules
7
Lessons
40
Level
About This Course
Until now your pages have been fixed: HTML gave them structure and CSS gave them style. JavaScript is the language that lets a program think: store data, make decisions, repeat work and handle mistakes. In this course you learn the core of the language away from the browser page, running your code with Node.js. You work with values, variables and operators, conditions and loops, functions, arrays and objects, strings, dates, errors and debugging. By the end you build the core logic of the Tally budget calculator: totals, category grouping, budget checks and a formatted report, with safe handling of bad input.
You'll Be Able To
- Store, combine and compare data using variables, types and operators
- Control the flow of a program with conditions and loops
- Write, call and reason about functions, including scope, return values and callbacks
- Model real data with arrays and objects and transform it with map, filter and reduce
- Debug programs by reading errors, using the console and debugger, and handling errors safely with try and catch
What's Inside
- 1
Getting started with JavaScript
5 lessons
- 2
Values, variables and operators
6 lessons
- 3
Control flow
6 lessons
- 4
Functions
6 lessons
- 5
Arrays and objects
7 lessons
- 6
Strings, dates, errors and debugging
6 lessons
- 7
Project: Budget calculator logic
4 lessons