text: // creating html with javascript
  
  import makeElement from "../../utils/makeElement";
  import pageHeaderButton from "../../components/ui/pageheader/";
  import link from "../../components/ui/link/link";
  // import tagLine from "../../components/ui/tagline";
  
  // grab components fron landing page and add together
  const landingPage = function () {
    const page = document.createElement("div");
  
    // clean out page contents before building
    page.innerHTML = "";
  
    function render() {
      page.append(
        pageHeaderButton({
          label: "Dylan Wozny's to do List",
          tagline: "Gotta get it all done",
          children: [link("To Do List", "/todo")],
        })
      );
    }
  
    // call functions to build page
    render();
    return page;
  };
  
  export default landingPage;
  