<div id="title-date"> <h1 id="current-date"></h1> </div> <script> var currentDate = new Date(); var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; var formattedDate = currentDate.toLocaleDateString('en-US', options).replace(',', ''); document.getElementById("current-date").innerHTML = formattedDate; </script> <style> #title-date { text-align: center; margin: 50px 0; } #current-date { font-size: 48px; font-weight: bold; color: #fff; margin: 0; padding: 0; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } </style>