window.onload = initializeData()

function initializeData() {
  var div = document.getElementById("right_now");
  var date = new Date();
  div.textContent = date.getFullYear() + '-' + date.getMonth() + '-' + date.getDate();
  var text = div.textContent;  
}

window.onload = initializeData()

function initializeData() {
  var right_now = document.getElementById("right_now");
  var date = new Date();
  right_now.textContent = date.getFullYear() + '-' + date.getMonth() + '-' + date.getDate();
  var text = right_now.textContent;  
}

Rename div variable to right_now
Rename div variable to right_now
