javascript html dom
html DOM要素
関連タイピング
-
emmetのための備考欄
プレイ回数964短文英字201打 -
Emmetチートタイピング CSS編です。
プレイ回数1426英語短文90秒 -
JavaScript 暗記用です
プレイ回数1605英語長文687打 -
読み方の勉強です。
プレイ回数3477短文英字171打 -
プログラミングを学びたい方は是非!2025/05/21公開
プレイ回数1764610打 -
htmlの雛形覚え用
プレイ回数819英語長文258打 -
htmlのタグを入力
プレイ回数160300秒 -
初心者向けです。
プレイ回数7674英語546打
問題文
ふりがな非表示
ふりがな表示
(const p=document.createElement("p");)
const p=document.createElement("p");
(const text=document.createTextNode("new text");)
const text=document.createTextNode("new text");
(p.appendChild(text);)
p.appendChild(text);
(const parent=document.getElementById("div1");)
const parent=document.getElementById("div1");
(parent.appendChild(p);)
parent.appendChild(p);
(const child=document.getElementById("p1");)
const child=document.getElementById("p1");
(parent.insertBefore(p,child);)
parent.insertBefore(p,child);
(child.remove();)
child.remove();
(parent.replaceChild(p,child);)
parent.replaceChild(p,child);