title: Open a new HTML page in a JS function and then write some HTML on it
body: <p>I have this <em>main.html</em> file which has a button of type "button". It has a <em>create()</em> function that processes the <em>onclick</em> event.</p>
  
  <p>I also have another page <em>test.html</em> which is in the same folder as the <em>main.html</em>. </p>
  
  <p>What I want:</p>
  
  <ol>
  <li>as soon as I click the button, <em>test.html</em> opens</li>
  <li>create() write some html on it, like "Hello World"</li>
  </ol>
  
  <p>I don't understand how to do it. I read about window.open() but I guess this is just a pop up, and I want a full-fledged page.</p>