From 7d804d0d9c74ba93d5f47e133c6d852a440a4ae8 Mon Sep 17 00:00:00 2001 From: WATAHIKI YUTO Date: Sat, 31 Jan 2026 16:32:14 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=8CDOM=E3=80=8D=E3=81=AE=E7=AF=80?= =?UTF-8?q?=E3=81=AE`getElementById`=E3=81=AE=E3=82=B5=E3=83=B3=E3=83=97?= =?UTF-8?q?=E3=83=AB=E3=83=97=E3=83=AD=E3=82=B0=E3=83=A9=E3=83=A0=E3=81=AE?= =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=9D=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../13-dom/_samples/get-element-by-id/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/1-trial-session/13-dom/_samples/get-element-by-id/script.js b/docs/1-trial-session/13-dom/_samples/get-element-by-id/script.js index 4d9efe9b7..87f3efdc0 100644 --- a/docs/1-trial-session/13-dom/_samples/get-element-by-id/script.js +++ b/docs/1-trial-session/13-dom/_samples/get-element-by-id/script.js @@ -1,2 +1,2 @@ -const element = document.getElementById("greeting"); -element.textContent = "Hello DOM"; +const greetingElement = document.getElementById("greeting"); +greetingElement.textContent = "Hello DOM";