JS Get HTML -контент

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