JS Dapatkan Konten HTML

document.getElementById("content").innerHTML = "Upvote!";
Undefined