const p = document.createElement("p");. // 3. Add the text content. p.textContent = "Hello, World!";. // 4. Append the p element to the div element.
確定! 回上一頁