javascript html dom
html DOM要素
関連タイピング
-
javascriptの打ちにくいコードを打て!
プレイ回数51 英字30秒 -
基礎的なHTML
プレイ回数4668 英語54打 -
プログラミングを学びたい方は是非!2025/05/21公開
プレイ回数4731 610打 -
JavaScript 暗記用です
プレイ回数1914 英語長文1124打 -
プレイ回数3289 長文795打
-
プレイ回数1684 60秒
-
メソッド名やクラス名をタイピングしよう
プレイ回数310 長文英字60秒 -
htmlやcssのタイピングです。
プレイ回数7902 英語長文120秒
問題文
ふりがな非表示
ふりがな表示
(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);