EP 1 : Get start with JavaScript
Why JavaScript?
รูปภาพจาก https://javascript.plainenglish.io
รูปภาพจาก https://www.w3schools.com
JavaScript เป็ นภาษาทสี่ ามารถใชง้ านบนเบราวเ์ ซอรไ์ ด้
JS HTML DOM
\"The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document.\"
HTML DOM คอื โครงสรา้ งวตั ถแุ ละ Programming Interface สาหรบั HTML • ทกุ HTML elements คอื Objects • มี Properties ในทุก HTML elements • มี Methods เพอื่ ใชง้ านรว่ มกบั HTML elements • ทกุ HTML elements มี Events
HTML DOM Methods สว่ นทเี่ รากระทา (Actions) กบั HTML elements ได ้
HTML DOM Properties คณุ สมบตั แิ ละ/หรอื องคป์ ระกอบตา่ งๆใน HTML elements สามารถเขา้ ถงึ ไดโ้ ดยใช ้ Get/Set หรอื วธิ ที งี่ ่ายทสี่ ดุ คอื innerHTML
รูปภาพจาก https://www.w3schools.com
รูปภาพจาก https://www.w3schools.com
รูปภาพจาก https://www.w3schools.com
รูปภาพจาก https://www.w3schools.com
Operators
รูปภาพจาก https://www.w3schools.com
รูปภาพจาก https://www.w3schools.com
รูปภาพจาก https://www.w3schools.com
Next, We will see about Types, Functions and let’s start some mini project
Search
Read the Text Version
- 1 - 20
Pages: