javascript html dom
関連タイピング
-
プログラミングを学びたい方は是非!2013/07/03公開
プレイ回数36万 1071打 -
JavaScript 暗記用です
プレイ回数2122 英語長文2218打 -
html5の暗記用 <>を省いていてタイピングにしました
プレイ回数914 英語長文564打 -
自作のハンバーガーメニューを作成しましょう!
プレイ回数3768 英語長文721打 -
TLJ専用のHTML練習用タイピングです。
プレイ回数4646 260打 -
JavaScript 暗記用です
プレイ回数3389 英語長文1247打 -
JavaScript 暗記用です
プレイ回数1272 英語長文1345打 -
JavaScriptの暗記用です
プレイ回数4654 英語長文913打
問題文
(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);