Or log in to access your purchased courses

JavaScript

A self-paced JavaScript course for beginners who want to build interactive web pages and understand modern JavaScript. Eight lessons move from the fundamentals of the language to working with the browser's Document Object Model, handling events, writing asynchronous code with promises and async/await, and fetching data from web APIs, with a hands-on exercise at the end of each lesson.

What you will learn

  • Write JavaScript using variables, types, operators and control flow
  • Create functions, including arrow functions and callbacks
  • Work with arrays and objects using modern methods
  • Select and update page elements and respond to user events
  • Fetch and display data from an API using async/await

Lessons

  1. How JavaScript Fits Into the Web
  2. Values, Variables and Operators
  3. Control Flow: Conditions and Loops
  4. Functions, Scope and Callbacks
  5. Arrays and Objects
  6. The DOM: Reading and Changing the Page
  7. Forms, Validation and Browser Storage
  8. Events and Asynchronous JavaScript

Self-paced course from Tech Skills Library. Educational content only. Completing the course earns a Certificate of Completion, not an accredited qualification, licence or credential.

About this courseThis is a self-paced educational course. Completing it does not award a professional certification, license, degree or academic credit, and it does not count toward any licensing or continuing-education requirement. Exam-prep courses are independent study material: we are not affiliated with or endorsed by the exam provider, no exam voucher is included, and a certification is only awarded by the provider after you pass its exam. It makes no promise of employment, pay or exam results.

Lessons

Values, Variables and Operators

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Programs store and transform values. In JavaScript you create variables using let or const. Use const for values that will not be reassigned, such as const taxRate = 0.2, and let for values that will change, such as a running total. An older keyword, var, still works but has confusing scoping rules, so modern code […]

Control Flow: Conditions and Loops

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Control flow determines which statements run and how many times. JavaScript's control structures will look familiar if you have used other languages, and they mirror the building blocks of every algorithm: sequence, selection and iteration. if, else if and else An if statement runs a block of code inside curly braces only when its condition […]

Functions, Scope and Callbacks

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Functions are the main way to organise JavaScript code. They let you name a set of steps, reuse them, and pass behaviour around as values. JavaScript treats functions as first-class values, which means you can store them in variables, pass them to other functions and return them from functions. This idea powers much of the […]

Arrays and Objects

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Almost every real program works with collections of data. JavaScript's two essential structures are arrays, ordered lists of values, and objects, collections of named properties. Modern JavaScript provides expressive methods for working with both, and mastering them will make your code shorter and clearer. Arrays An array is written with square brackets, such as const […]

The DOM: Reading and Changing the Page

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

When the browser loads an HTML page, it builds an in-memory tree of objects representing every element, called the Document Object Model or DOM. JavaScript can read and change this tree, and the browser immediately updates what the user sees. This is how pages show messages, update totals, reveal menus and build lists without reloading. […]

Forms, Validation and Browser Storage

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Forms are how users give information to a web page: sign-ups, searches, checkouts and settings. JavaScript lets you improve forms by validating input before it is sent, giving instant feedback, and remembering preferences between visits using storage built into the browser. Reading form values Each input element has a value property containing what the user […]

Events and Asynchronous JavaScript

Length: 10 minutesAuthor: akoshner@gmail.comComplexity: Easy

Interactive pages respond to what users do, and modern applications constantly exchange data with servers. This final lesson covers events, which let your code react to user actions, and asynchronous programming, which lets your code wait for slow operations such as network requests without freezing the page. Listening for events The addEventListener() method attaches a […]

Editorial & AI Disclosure