public/app.js
// Define a function to load the query form from the template.
Define a function to load the query form from the template.
Define a function to load the query form from the template .
function loadQueryForm()
  {
  let templateClone = formTemplate.cloneNode(true);
  let templateHTMl = templateClone.textContent;
  let templateTarget = document.querySelector(".formWrapper");
  templateTarget.innerHTML = templateHTMl; 
  }
function loadQueryForm ( ) { let templateClone = formTemplate . cloneNode ( true ) ; let templateHTMl = templateClone . textContent ; let templateTarget = document . querySelector ( ".formWrapper" ) ; templateTarget . innerHTML = templateHTMl ; }
Define a function to load the query form from the template.
Define a function to load the query form from the template .