Skip to content

← Learn to Code — Python, Java, C, SQL & Web · ⁨编程入门 — Python, Java, C, SQL & Web⁩

JavaScript

The language of the web. Make things happen — runs right in your browser. · ⁨网页的语言。让程序动起来 —— 直接在你的浏览器里运行。⁩

javascript 15 Lessons · ⁨课程⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。⁩

Start the course · ⁨开始课程⁩

Lessons in this course · ⁨本课程中的课程⁩

  1. history A short history of JavaScript · ⁨JavaScript 简史⁩ Reading and resources · ⁨阅读与资源⁩
  2. usage What JavaScript is used for · ⁨JavaScript 用来做什么⁩ Reading and resources · ⁨阅读与资源⁩
  3. resources Where to learn more · ⁨去哪里学更多⁩ Reading and resources · ⁨阅读与资源⁩
  4. setup Run JavaScript anywhere · ⁨在任何地方运行 JavaScript⁩ Reading and resources · ⁨阅读与资源⁩
  5. 01 console.log and comments · ⁨console.log 与注释⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  6. 02 Variables — let and const · ⁨变量 —— let 与 const⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  7. 03 Numbers and maths · ⁨数字与数学⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  8. 04 Strings · ⁨字符串⁩ 4 required tasks · ⁨4 个必做任务⁩ Video · ⁨视频⁩
  9. 05 Template literals · ⁨模板字符串⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  10. 06 Booleans and comparisons · ⁨布尔值与比较⁩ 4 required tasks · ⁨4 个必做任务⁩ Video · ⁨视频⁩
  11. 07 if / else 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  12. 08 for loops · ⁨for 循环⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  13. 09 while loops · ⁨while 循环⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  14. 10 Functions · ⁨函数⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  15. 11 Arrow functions · ⁨箭头函数⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  16. 12 Arrays · ⁨数组⁩ 4 required tasks · ⁨4 个必做任务⁩ Video · ⁨视频⁩
  17. 13 Array methods · ⁨数组方法⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  18. 14 Objects · ⁨对象⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩
  19. 15 Putting it together · ⁨综合运用⁩ 3 required tasks · ⁨3 个必做任务⁩ Video · ⁨视频⁩

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩