DOCTYPE html> const clock = document.querySelector('.h1-clock'); const date = document.querySelector('.h1-date'); function getTime(){ const time = new Date(); const hour = time.getHours(); const minutes = time.getMinutes(); const seconds = time.getSeconds(); var year = time.getFullYear(); var month = time.getMonth()+1; var day = time.getDate(); //clock.innerHTML = hour +":" + minutes + ":"+secon..