code: function loadHTML(url, id) {
    req = new XMLHttpRequest();
    req.open('GET', url);
    req.send();
    req.onload = () => {
      $id(id).innerHTML = req.responseText;
    };
  }
docs: asyncrhonously fetch the html template partial from the file directory, then set its contents to the html of the parent element