javascript is case sensitive, innerText
should be written with capital T
, try this
document.getElementById("greetingOutput").innerText = greetingString;
....^
and remove this line
helloButton.innerText = greetingOutput.innertext // REMOVE THIS