Free course · Programming & Development
JavaScript Starter
A free introduction to JavaScript in the browser: variables and functions, arrays and objects, and making a page respond to clicks and input.
Free · self-study · no certificate
About 6 hours
2 modules · 5 lessons
What you will be able to do
- Write JavaScript with variables, conditions, loops and functions
- Work with arrays and objects to hold data
- Select page elements and respond to user events
Who it's for
- Beginners who know a little HTML and want interactive pages
- Learners exploring front-end development
Before you start
Basic HTML is helpful. A web browser and a text editor.
Module 1 · about 120 minutes
JavaScript Foundations
Setup, control flow, functions, arrays and objects.
- Run JavaScript in the browser console and a page
- Use functions, arrays and objects
Module 2 · about 80 minutes
Making Pages Interactive
The DOM and events, then a complete small problem.
- Change a page with JavaScript
- Build a small interactive feature
Further learning
- JavaScript Guide (MDN Web Docs) — The standard reference guide to the language, from grammar and types to promises and modules.
- Learn web development (MDN) — MDN's structured learning path, including dynamic scripting with JavaScript and client-side web APIs.
Continue with a full program
- JavaScript — Learn JavaScript to build interactive websites and modern web applications, from DOM basics to async programming.
- Web Development — Build modern, responsive websites using HTML, CSS, and JavaScript with a focus on real projects.
- Python — Practical Python programming for automation, data work and back-end development — from first scripts to a deployed, tested application.
Want the full JavaScript program?
This free course is an introduction. The full program is taught live by an instructor, with practical assignments, assessments, projects and a certificate.
See the JavaScript program