Add live date 

To add this Live Date , you can simply copy this code and paste it on your website :

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Cool Date Widget</title>


    <!-- Import Poppins font -->

    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap" rel="stylesheet">


    <!-- Custom Styles for the Widget -->

    <style>

        * {

            margin: 0;

            padding: 0;

            box-sizing: border-box;

        }

        body {

            background: transparent; /* Transparent background */

        }

        .date-widget {

            font-family: 'Poppins', sans-serif;

            font-weight: 700;

            font-size: 2.5rem;

            color: #ffffff;

            padding: 20px 40px;

            border-radius: 15px;

            background: linear-gradient(135deg, #6e45e2, #88d3ce);

            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

            text-align: center;

            transition: transform 0.3s ease, background 0.6s ease-in-out, box-shadow 0.3s ease; /* Added background transition */

            cursor: pointer;

        }

        .date-widget:hover {

            transform: scale(0.95); /* Zoom out on hover */

            background: linear-gradient(135deg, #ff758c, #ff7eb3); /* Change gradient smoothly */

            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */

        }

        .date-widget span {

            display: block;

            font-size: 1.2rem;

            opacity: 0.7;

        }

    </style>

</head>

<body>

    <div class="date-widget">

        <div id="today-date"></div>

        <span>Today's Date</span>

    </div>


    <script type="text/javascript">

        const todayDateElement = document.getElementById('today-date');

        const today = new Date();

        const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };

        todayDateElement.textContent = today.toLocaleDateString('en-US', options);

    </script>

</body>

</html>