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
  1. 1Lesson 1JavaScript Fundamentals & Setup
  2. 2Lesson 2Control Flow & Functions
  3. 3Lesson 3Arrays & 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
  1. 4Lesson 4The DOM & Events
  2. 5Lesson 5Problem Solving with JavaScript
Final checkQuick Quiz — JavaScript BasicsTest what you learned with a short quiz, marked instantly.

Further learning

  • 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