let d = new Date();
var x = document.createElement("P");
var t = document.createTextNode("Todays date is " + d + " and hey Nick!");
x.appendChild(t);
document.body.appendChild(x);

let d = new Date();
var x = document.createElement("h1");
var t = document.createTextNode("Todays date is " + d + " and hey Nick!");
x.appendChild(t);
document.body.appendChild(x);

Update main.js