Having a hard time understanding exactly what .innerText does

So, I’m learning about basically bringing in a html element into javascript with document.getElementById

and to my understanding using .innertext in javascript is simply to be able to put text into the element without actually typing in anything in html? I’m trying to understand this a little better before I move on because I’m sure I’ll get lost if I don’t grasp this.

thanks everyone!

Not really sure what the question is?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.