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.

執行狀況


沒有留言:

張貼留言

WOKWI ESP32 LED Control , Node-Red MQTT SQLITE  

WOKWI ESP32 LED Control ,  Node-Red  MQTT SQLITE   const char broker[] = "test.mosquitto.org" ; //const char broker[] = "br...