javascript html dom
html DOM要素
関連タイピング
-
HTMLのタグを打とう!
プレイ回数1091 短文90秒 -
プログラミングで良く使う英単語、構文のタイピングです!
プレイ回数4298 短文英字429打 -
自分練習用
プレイ回数784 長文259打 -
Javascriptの基礎的なコード集
プレイ回数3457 長文英字358打 -
bootstrap5 form
プレイ回数162 英語長文486打 -
基礎的なHTML
プレイ回数4321 英語54打 -
HTMLの超基本を練習できます!!
プレイ回数1656 118打 -
プログラミングを学びたい方は是非!2025/05/21公開
プレイ回数3805 610打
問題文
ふりがな非表示
ふりがな表示
(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);