javascript html dom

関連タイピング
-
プログラミングを学びたい方は是非!2013/07/03公開
プレイ回数34万1071打 -
メソッド名やクラス名をタイピングしよう
プレイ回数60長文英字60秒 -
htmlの雛形覚え用
プレイ回数397英語長文258打 -
プログラミングで良く使う英単語、構文のタイピングです!
プレイ回数2015短文英字429打 -
javaではなくjavascriptのタイピング練習
プレイ回数1万英字739打 -
自作のハンバーガーメニューを作成しましょう!
プレイ回数2947英語長文721打 -
htmlやcssのタイピングです。
プレイ回数6182英語長文120秒 -
プレイ回数1925647打
問題文
(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);