JavaScript
ภาษาของเว็บ ทำให้เกิดเหตุการณ์ขึ้น — ทำงานได้ทันทีในบราว์เซอร์ของคุณ
- javascript
- 18 บทเรียน
- 15 videos
- ทำงานบนเบราว์เซอร์ของคุณ
บนอุปกรณ์นี้: สำเร็จ 0 จาก 18 บทเรียน
ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ
บทเรียนในหลักสูตรนี้
แสดง 22 จาก 22 บทเรียน
ไม่พบบทเรียนที่ตรงกับการค้นหา ล้างการค้นหาคืนหรือเลือกตัวกรองอื่น
- console.log และคอมเมนต์ The language of the web · Print text, numbers, or both Lesson 1 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
- ตัวแปร — let และ const A variable is a named box · Change a let with a new value Lesson 2 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
- ตัวเลขและคณิตศาสตร์ Maths like a calculator · Remainder and powers · Order of operations Lesson 3 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
- สตริง (Strings) Strings are text · Mind the spaces · Length and capitals · Reach inside a string Lesson 4 · งานที่ต้องทำ 4 รายการ · ★ วิดีโอ
- Template literals A cleaner way to build strings · Any expression fits inside ${ } · Same string, two ways Lesson 5 · งานที่ต้องทำ 3 รายการ · ★ วิดีโอ
- Boolean และการเปรียบเทียบ True and false · Combine tests Lesson 6 · งานที่ต้องทำ 4 รายการ · ★ วิดีโอ
- if / else Making decisions · Many paths with else if Lesson 7 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- for loops ทำซ้ำด้วย for loop · สร้างผลรวมสะสม Lesson 8 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- while loops while repeats · Make progress every pass Lesson 9 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- ฟังก์ชัน Functions that just do something Lesson 10 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- Arrow functions More than one parameter Lesson 11 · งานที่ต้องทำ 3 รายการ · ★★ วิดีโอ
- Arreglo Arrays hold lists · Add and remove items · Loop over an array Lesson 12 · งานที่ต้องทำ 4 รายการ · ★★ วิดีโอ
- เมทოდของอาเรย์ (Array methods) Filtering keeps some items · Trace the shared objects Lesson 13 · งานที่ต้องทำ 4 รายการ · ★★★ วิดีโอ
- ออบเจกต์ (Objects) Objects group related data · Change or add a property Lesson 14 · งานที่ต้องทำ 3 รายการ · ★★★ วิดีโอ
- Looping over objects Visit every key of an object · Keys, values and entries as arrays Lesson 17 · งานที่ต้องทำ 3 รายการ · ★★★
- สวิตช์ switch picks a case · break ends the case Lesson 16 · งานที่ต้องทำ 3 รายการ · ★★
- Errors, try and catch Errors stop a program · try and catch · throw your own error Lesson 18 · งานที่ต้องทำ 3 รายการ · ★★★
- การรวมกัน Searching and counting Lesson 15 · งานที่ต้องทำ 3 รายการ · ★★★ วิดีโอ
การอ่านและแหล่งข้อมูล
- ประวัติศาสตร์สั้นๆ ของ JavaScript Born in ten days · Not the same as Java · One language everyone agrees on · JavaScript today การอ่านและแหล่งข้อมูล
- JavaScript ใช้ทำอะไร What people build with JavaScript · Interactive websites · Servers with Node.js · Apps, games, and more การอ่านและแหล่งข้อมูล
- แหล่งเรียนรู้เพิ่มเติม เล่นและฝึกฝน · อ่านและอ้างอิงข้อมูล · เนื้อหาเพิ่มเติมในเว็บนี้ · เคล็ดลับ การอ่านและแหล่งข้อมูล
- รัน 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.
แหล่งเรียนรู้เพิ่มเติม
- เอกสารประกอบ JavaScript (เว็บไซต์นี้) ทุกหัวข้อของคอร์สนี้บนหน้าเดียว พร้อมตัวอย่างที่คุณสามารถรันได้
- พื้นฐานของเว็บ — HTML & CSS (เว็บไซต์นี้) สร้างหน้าเว็บ; JavaScript ทำให้มันเคลื่อนไหวได้
- MDN — JavaScript แหล่งอ้างอิงที่นักพัฒนาเว็บทุกคนใช้