2021-11-07から1日間の記事一覧
クリック操作で、時刻を表示する <html><head><meta charset="utf-8"><title>一白山中(ennya.hatenablog.com)</title><script>function displayDate(){ document.getElementById("demo").innerHTML=Date();}</script></head><body> <h1>初めてのJavaScriptプログラム</h1><p id="demo">これは一つの段落</p> </body></html>