diff --git a/docs/about.md b/docs/about.md index 60b63365..77c0b8fb 100644 --- a/docs/about.md +++ b/docs/about.md @@ -35,7 +35,7 @@ Learn about about the [hardware components](/device) of the micro:bit to make th ## Programming: Blocks or JavaScript -The student can program the BBC micro:bit using [Blocks](/blocks) or [JavaScript](/typescript), via the [micro:bit APIs](/reference): +The student can program the BBC micro:bit using [Blocks](/blocks) or [JavaScript](/javascript), via the [micro:bit APIs](/reference): ```blocks basic.showString("Hi!"); @@ -45,7 +45,7 @@ basic.showString("Hi!"); When a user has her code ready, she can connect her BBC micro:bit to a computer via a USB cable, so it appears as a mounted drive (named MICROBIT). -Compilation to ARM thumb machine code from [Blocks](/blocks) or [JavaScript](/typescript) happens in the browser. +Compilation to ARM thumb machine code from [Blocks](/blocks) or [JavaScript](/javascript) happens in the browser. The student is prompted to save the ARM binary program to a file, which she then simply drags to the micro:bit mounted drive, which flashes the micro:bit device with the new program. diff --git a/docs/typescript.md b/docs/javascript.md similarity index 90% rename from docs/typescript.md rename to docs/javascript.md index 71e06854..9cb3e54e 100644 --- a/docs/typescript.md +++ b/docs/javascript.md @@ -1,8 +1,8 @@ -# TypeScript +# JavaScript -You can write micro:bit programs in a subset of [TypeScript](https://www.typescriptlang.org). -TypeScript itself is a superset of JavaScript, and many micro:bit programs, -especially at the beginner's level, are also just plain JavaScript. +You can write micro:bit programs in a subset of [TypeScript](https://www.typescriptlang.org), a superset of JavaScript. +Many micro:bit programs, especially at the beginner's level, are just plain JavaScript. TypeScript introduces class-based +object-oriented programming, such as: ```js class Greeter { diff --git a/pxtarget.json b/pxtarget.json index bfe28e6c..1cd50988 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -110,8 +110,8 @@ "path": "/blocks" }, { - "name": "TypeScript", - "path": "/typescript" + "name": "JavaScript", + "path": "/javascript" } ], "sideDoc": "getting-started"