Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore basic-js-ep1

basic-js-ep1

Published by นางสาวนฤมล โสภา, 2021-09-06 14:53:59

Description: basic-js-ep1

Search

Read the Text Version

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


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook