javascript html dom

html DOM要素
関連タイピング
-
プログラミングを学びたい方は是非!2013/07/03公開
プレイ回数34万1071打 -
プログラミングで良く使う英単語、構文のタイピングです!
プレイ回数2452短文英字429打 -
htmlの雛形覚え用
プレイ回数431英語長文258打 -
プレイ回数119360秒
-
初心者向けです。
プレイ回数6783英語546打 -
JavaScript 暗記用です
プレイ回数1490英語長文1124打 -
自分用transform まとめ
プレイ回数1084長文英字693打 -
JavaScript 暗記用です
プレイ回数2289英語長文1432打
問題文
ふりがな非表示
ふりがな表示
(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);