Skip to content

Commit d916348

Browse files
committed
DOM の演習題微調整
1 parent 1692313 commit d916348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/1-trial-session/14-events/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ greetButton.onclick = clicked();
8686
document.write("<div style='color:red; font-size:40px'>Hello world!</div>");
8787
```
8888

89-
文字列をJavaScriptで操作する方法は前回の「DOM」の章で扱っています。
89+
HTML 要素をJavaScriptで操作する方法は前回の「DOM」の章で扱っています。
9090

9191
</Details>
9292

9393
<Details summary={<summary>ヒント2:HTMLファイルに…</summary>}>
9494

9595
`<button>` タグのHTML属性を書き換えるとボタンの中に`Hello world!` を表示してしまいます。
9696

97-
HTMLファイルに一工夫が必要です。見えない`<div>` タグを用意してあげましょう。
97+
HTMLファイルに一工夫が必要です。空の`<div>` タグを用意してあげましょう。
9898

9999
```html
100100
<div id="greeting"></div>

0 commit comments

Comments
 (0)