JavaScript mengubah teks paragraf

let element = document.getElementsByTagName("p");
element.innerText = "Hello World!";
Creepy Copperhead