跳到主要内容
编程入门 — Python, Java, C, SQL & Web

JavaScript

网页的语言。让程序动起来 —— 直接在你的浏览器里运行。

  • javascript
  • 18 课程
  • 15 videos
  • 在浏览器中运行

此设备:完成 0 / 18 门课程

开始课程

每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。

本课程中的课程

显示 22 / 22 门课程

  1. console.log 与注释 The language of the web · Print text, numbers, or both Lesson 1 · 3 项必做任务 · ★ 视频
  2. 变量 — let 与 const A variable is a named box · Change a let with a new value Lesson 2 · 3 项必做任务 · ★ 视频
  3. 数字与数学运算 Maths like a calculator · Remainder and powers · Order of operations Lesson 3 · 3 项必做任务 · ★ 视频
  4. 字符串 Strings are text · Mind the spaces · Length and capitals · Reach inside a string Lesson 4 · 4 项必做任务 · ★ 视频
  5. 模板字符串 A cleaner way to build strings · Any expression fits inside ${ } · Same string, two ways Lesson 5 · 3 项必做任务 · ★ 视频
  6. 布尔值与比较运算 True and false · Combine tests Lesson 6 · 4 项必做任务 · ★ 视频
  7. if / else Making decisions · Many paths with else if Lesson 7 · 3 项必做任务 · ★★ 视频
  8. for 循环 用 for 循环重复 · 累积一个总和 Lesson 8 · 3 项必做任务 · ★★ 视频
  9. while 循环 while repeats · Make progress every pass Lesson 9 · 3 项必做任务 · ★★ 视频
  10. 函数 Functions that just do something Lesson 10 · 3 项必做任务 · ★★ 视频
  11. 箭头函数 More than one parameter Lesson 11 · 3 项必做任务 · ★★ 视频
  12. 数组 Arrays hold lists · Add and remove items · Loop over an array Lesson 12 · 4 项必做任务 · ★★ 视频
  13. 数组方法 Filtering keeps some items · Trace the shared objects Lesson 13 · 4 项必做任务 · ★★★ 视频
  14. 对象 Objects group related data · Change or add a property Lesson 14 · 3 项必做任务 · ★★★ 视频
  15. 遍历对象 Visit every key of an object · Keys, values and entries as arrays Lesson 17 · 3 项必做任务 · ★★★
  16. switch switch picks a case · break ends the case Lesson 16 · 3 项必做任务 · ★★
  17. Errors, try and catch Errors stop a program · try and catch · throw your own error Lesson 18 · 3 项必做任务 · ★★★
  18. 整合 Searching and counting Lesson 15 · 3 项必做任务 · ★★★ 视频

阅读与资源

  1. JavaScript 简史 Born in ten days · Not the same as Java · One language everyone agrees on · JavaScript today 阅读与资源
  2. JavaScript 用来做什么 What people build with JavaScript · Interactive websites · Servers with Node.js · Apps, games, and more 阅读与资源
  3. 去哪里学更多 边玩边练 · 阅读与参考 · 本站更多内容 · 小提示 阅读与资源
  4. 在任何地方运行 JavaScript You already have everything · Try the browser console · For bigger projects · You are ready 阅读与资源
Open the Javascript reference Every topic in one place, with short examples you can run.

深入学习入口

登录或创建账户

IGCSE, A-Level & AP