title: how to use document.getElementById() in Nodejs
body: <p>i'm trying to get elements by id from an html file in a js file using nodejs.
  I'm getting the error 'document id not defined' because node doesn't provide a document object model by default.</p>
  
  <p>So how can i use <strong>document.getElementById()</strong> in nodejs ?</p>
  
  <p>Thank you !</p>