ข้ามไปยังเนื้อหา
เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web

JavaScript

ภาษาของเว็บ ทำให้เกิดเหตุการณ์ขึ้น — ทำงานได้ทันทีในบราว์เซอร์ของคุณ

  • javascript
  • 18 บทเรียน
  • 15 videos
  • ทำงานบนเบราว์เซอร์ของคุณ

บนอุปกรณ์นี้: สำเร็จ 0 จาก 18 บทเรียน

เริ่มหลักสูตร

ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ

บทเรียนในหลักสูตรนี้

แสดง 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) Strings are text · Mind the spaces · Length and capitals · Reach inside a string Lesson 4 · งานที่ต้องทำ 4 รายการ · ★ วิดีโอ
  5. Template literals A cleaner way to build strings · Any expression fits inside ${ } · Same string, two ways Lesson 5 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
  6. Boolean และการเปรียบเทียบ True and false · Combine tests Lesson 6 · งานที่ต้องทำ 4 รายการ · ★ วิดีโอ
  7. if / else Making decisions · Many paths with else if Lesson 7 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
  8. for loops ทำซ้ำด้วย for loop · สร้างผลรวมสะสม Lesson 8 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
  9. while loops while repeats · Make progress every pass Lesson 9 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
  10. ฟังก์ชัน Functions that just do something Lesson 10 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
  11. Arrow functions More than one parameter Lesson 11 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
  12. Arreglo Arrays hold lists · Add and remove items · Loop over an array Lesson 12 · งานที่ต้องทำ 4 รายการ · ★★ วิดีโอ
  13. เมทოდของอาเรย์ (Array methods) Filtering keeps some items · Trace the shared objects Lesson 13 · งานที่ต้องทำ 4 รายการ · ★★★ วิดีโอ
  14. ออบเจกต์ (Objects) Objects group related data · Change or add a property Lesson 14 · งานที่ต้องทำ 3 รายการ · ★★★ วิดีโอ
  15. Looping over objects Visit every key of an object · Keys, values and entries as arrays Lesson 17 · งานที่ต้องทำ 3 รายการ · ★★★
  16. สวิตช์ 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