回答編集履歴

1

追記

2020/10/20 03:32

投稿

AkitoshiManabe
AkitoshiManabe

スコア5432

test CHANGED
@@ -5,6 +5,24 @@
5
5
  HTMLの ``<script>`` タグを用いて適切なコードを書けばできます。
6
6
 
7
7
  ``<script>`` タグも一緒にサーバーサイドレンダリングしてください。
8
+
9
+
10
+
11
+ 追記)
12
+
13
+ ```html
14
+
15
+ <script>
16
+
17
+ window.addEventListener("DOMContentLoaded", ()=>{
18
+
19
+ console.log( window.document ); // document を取得できるか確認
20
+
21
+ });
22
+
23
+ </script>
24
+
25
+ ```
8
26
 
9
27
 
10
28