title: Change Page Title in NodeJS
body: <p>How can I change the title for each page using <code>NodeJS</code>?</p>
  
  <p>The <code>index.html</code> (not <code>.js</code> file) that is inside public folder is:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
      &lt;link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" /&gt;
    &lt;meta
       name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
     /&gt;
     &lt;meta name="theme-color" content="#000000" /&gt;
  
    &lt;link rel="manifest" href="%PUBLIC_URL%/manifest.json" /&gt;
  
    &lt;title&gt;Default Titlte for all pages&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
     &lt;noscript&gt;You need to enable JavaScript to run this app.&lt;/noscript&gt;
     &lt;div id="root"&gt;&lt;/div&gt;
  
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How can I change the title dynamically whenever I navigate to any page?</p>