50 six-month MMA memberships to give away, opening every course. Claim now

Alle Kurse
WEB 102Keine Plätze mehr freiComputer Science

Basic JavaScript

Make web pages work with JavaScript: learn the language in the console (values, conditions, loops, functions, arrays, objects), then put it in the page: reading and changing it, events, forms, saving data, timers and data from a server. Exercises run right in the browser and are checked the way a real user clicks and types. Basic HTML & CSS first is recommended. For learners from grade 6 and adult beginners.

  • Einsteiger
  • About 20 hours
  • 15 Kapitel
  • 76 Lektionen

In diesem Kurs sind keine kostenlosen Plätze mehr frei. Er gehört zur MMA-Mitgliedschaft, die alle MMA-Kurse in der Akademie öffnet.

Mitgliedschaften geschenkt

MMA verschenkt 50 Mitgliedschaften für 6 Monate, die alle Kurse in der Akademie öffnen. Melden Sie sich an und sichern Sie sich eine mit einem Klick.

Noch 49 von 50 Plätzen frei

Platz in der Akademie sichern

Kursgliederung

  1. Kapitel 1

    Getting started

    • What JavaScript is, and how this course works

      Lektion · 8 Min.

    • Your first line of code

      Lektion · 6 Min.

    • When code breaks

      Lektion · 10 Min.

  2. Kapitel 2

    Values and variables

    • Values: numbers, text, true or false

      Lektion · 8 Min.

    • Variables: naming a value

      Lektion · 10 Min.

    • Practice: your first functions

      Übung · 20 Min.

    • Project: a small receipt

      Übung · 10 Min.

  3. Kapitel 3

    Conditions

    • Comparing: true or false

      Lektion · 8 Min.

    • if, else if, else: picking a path

      Lektion · 10 Min.

    • Short forms and defaults

      Lektion · 8 Min.

    • Practice: making decisions

      Übung · 30 Min.

    • Project: a parking fee

      Übung · 15 Min.

  4. Kapitel 4

    Loops

    • Repeating with for

      Lektion · 8 Min.

    • while and for…of

      Lektion · 10 Min.

    • When loops go wrong

      Lektion · 8 Min.

    • Practice: repeating

      Übung · 35 Min.

    • Project: a vote chart

      Übung · 15 Min.

  5. Kapitel 5

    Functions

    • Writing your own functions

      Lektion · 10 Min.

    • Names inside a function

      Lektion · 8 Min.

    • Functions are values too

      Lektion · 8 Min.

    • Advanced: functions that remember (closures)

      Lektion · 10 Min.

    • Practice: writing functions

      Übung · 35 Min.

    • Project: a taxi fare

      Übung · 20 Min.

  6. Kapitel 6

    Arrays

    • Arrays: a list in order

      Lektion · 10 Min.

    • map, filter, find: asking the whole array at once

      Lektion · 12 Min.

    • sort, and two names for one array

      Lektion · 10 Min.

    • Practice: arrays in everyday life

      Übung · 35 Min.

    • Project: a game leaderboard

      Übung · 15 Min.

  7. Kapitel 7

    Objects and JSON

    • Objects: one thing, many properties

      Lektion · 10 Min.

    • An array of objects: a small table

      Lektion · 12 Min.

    • JSON, and copying or sharing

      Lektion · 10 Min.

    • Practice: named data

      Übung · 35 Min.

    • Advanced: reduce into an object

      Übung · 10 Min.

    • Project: a shopping cart

      Übung · 15 Min.

  8. Kapitel 8

    Text, numbers and errors

    • Working with text

      Lektion · 10 Min.

    • Numbers from text, and numbers people can read

      Lektion · 12 Min.

    • When things go wrong: try, catch, throw

      Lektion · 12 Min.

    • Practice: text, numbers and errors

      Übung · 40 Min.

    • Part 1 project: a bill splitter

      Übung · 30 Min.

  9. Kapitel 9

    The DOM: reading and changing the page

    • Finding elements and changing their text

      Lektion · 10 Min.

    • Classes, attributes and hiding

      Lektion · 10 Min.

    • Making elements: a list from an array

      Lektion · 10 Min.

    • innerHTML and text people type

      Lektion · 4 Min.

    • Practice: changing the page

      Übung · 30 Min.

    • Components: a profile card and a gallery

      Übung · 25 Min.

    • Project: the toy shop page

      Übung · 25 Min.

  10. Kapitel 10

    Events

    • Listening for a click

      Lektion · 8 Min.

    • The event object

      Lektion · 8 Min.

    • Bubbling and delegation

      Lektion · 10 Min.

    • Practice: buttons, text boxes and keys

      Übung · 40 Min.

    • Components: tabs, an accordion, a dialog

      Übung · 30 Min.

    • Project: Rock, paper, scissors

      Übung · 30 Min.

  11. Kapitel 11

    Forms

    • Reading what people type

      Lektion · 8 Min.

    • Submitting a form

      Lektion · 10 Min.

    • Checking what was typed

      Lektion · 10 Min.

    • Practice: forms that work

      Übung · 35 Min.

    • Project: the fun run registration

      Übung · 30 Min.

  12. Kapitel 12

    State, rendering and saving

    • One state, one render

      Lektion · 10 Min.

    • Saving across a reload

      Lektion · 10 Min.

    • Practice: state and saving

      Übung · 40 Min.

    • Project: a to-do list

      Übung · 35 Min.

  13. Kapitel 13

    Timers, async and fetch

    • Timers: doing something later

      Lektion · 8 Min.

    • Practice: timers

      Übung · 25 Min.

    • Waiting for data: promises, async and await

      Lektion · 12 Min.

    • Loading, error, empty; and waiting for typing to stop

      Lektion · 6 Min.

    • Advanced: the order of things

      Übung · 10 Min.

    • Practice: data from a server

      Übung · 35 Min.

    • Project: a weather card

      Übung · 40 Min.

  14. Kapitel 14

    Final project

    • Final project, part 1: the catalogue from the server

      Übung · 25 Min.

    • Final project, part 2: filter and search

      Übung · 20 Min.

    • Final project, part 3: the cart

      Übung · 30 Min.

    • Final project, part 4: remembering the cart

      Übung · 20 Min.

    • Final project, part 5: placing the order

      Übung · 30 Min.

    • Extra project (optional): a memory game

      Übung · 40 Min.

  15. Kapitel 15

    Final exam

    • Final exam

      Quiz · 30 Min.

    • After the exam

      Lektion · 5 Min.