title: How do I get the <title> from a child iframe to set on the index.html
body: <p>Currently I have the following in my <code>index.html</code> file</p>
  
  <pre><code>document.title = document.getElementById('title').contentWindow.document.title;
  </code></pre>
  
  <p>But it makes the title blank instead of the title of the iframe.</p>
  
  <p>How do I fix this?</p>
  
  <p><a href="http://deepmotions.github.io" rel="nofollow noreferrer">Here is my site</a></p>