
JavaScript
JavaScript makes web pages interactive. Learn the language step by step, from variables and functions to working with the page, data and the web.
JavaScript makes web pages interactive. Learn the language step by step, from variables and functions to working with the page, data and the web.
What You Will Learn
- Variables, data types, operators and control flow
- Functions, scope, arrays and objects
- Working with the DOM and handling events
- Modern syntax such as arrow functions, modules and destructuring
- Fetching data from APIs with promises and async/await
- Debugging with the browser developer tools
What You Will Build
- A to-do list that saves to the browser
- A weather or data viewer that uses a public API
- An interactive quiz or small game
Who This Course Is For
Beginners with a little HTML, and developers coming from other languages who want to work on the web.
What You Need
Basic HTML and CSS are helpful. You do not need to know any programming.
How The Course Works
Every course on Skills in Minutes is free and follows the same five sections: Beginner, Intermediate, Advanced, Projects and Go pro. Each lesson is short, ends with a quick quiz and a summary, and builds on the one before. You can stop and return at any time.
Where It Can Lead
- Front-end developer
- Full-stack developer with Node.js
- Automation and browser tool builder
Results depend on your practice, your goals and your market. This course gives you the skills and a portfolio of practical work to show for it.
Course Outline
Beginner10 lessons
1What is JavaScript? Your first program2Variables and data types: let, const, strings and numbers3Operators: maths, comparison and logic4Strings and template literals: working with text5Conditions: if, else, switch and the ternary operator6Loops: for, while and repeating work7Functions: parameters, return values and arrow functions8Arrays: lists, loops, map, filter and reduce9Objects: properties, methods and JSON10Beginner project: build a tip and bill splitterIntermediate10 lessons
11The DOM: selecting elements with querySelector12Changing the page: text, attributes, styles and classes13Events: click, input, keyboard and the event object14Forms and validation with JavaScript15Creating and removing elements dynamically16Event delegation and bubbling17Timers: setTimeout, setInterval and animation18localStorage: saving data in the browser19Fetch, promises and async/await: working with APIs20Intermediate project: build a to-do app that saves its dataAdvanced10 lessons
21Scope, hoisting and closures22Understanding this, call, apply and bind23Classes, inheritance and prototypes24Modules: import, export and organising code25Error handling and debugging26Modern syntax: destructuring, spread, rest, ?. and ??27Regular expressions: patterns for searching text28Dates, times and Intl: formatting for any reader29Web APIs: observers, clipboard, canvas and more30Capstone: build a complete quiz appQuestions
Is JavaScript the same as Java?
No. They are different languages that share part of a name for historical reasons.
Do I need to learn JavaScript before React?
Yes. A solid grounding in JavaScript makes React far easier to learn, and this course covers what React expects you to know.
Can I use JavaScript outside the browser?
Yes. With Node.js you can build servers, tools and scripts. The Node.js course continues from here.
