2019年4月10日 星期三

第一個程式Hello World

<JavaScript> 第一個程式Hello World

<!DOCTYPE HTML>
<html>
<body>

<p>Before the script...</p>

<p id="demo1-1"></p>
<script>
  var text="'Hello, world!......";
    alert( 'Hello, world!' );
    document.getElementById("demo1-1").innerHTML = text;
</script>

<p>...After the script.</p>
</body>
</html>

輸出畫面
Before the script...
'Hello, world!......
...After the script.

執行狀況


沒有留言:

張貼留言

2024產專班 作業2 (純模擬)

2024產專班 作業2  (純模擬) 1) LED ON,OFF,TIMER,FLASH 模擬 (switch 控制) 2)RFID卡號模擬 (buttom  模擬RFID UID(不從ESP32) Node-Red 程式 [{"id":"d8886...