<html>
    <head>
        <meta charset="UTF-8" />
        <title>pitsyattri</title>
        <style>
            html, body {
                margin: 0;
                background-color: #7a7a7a;
                font: caption ;
                color: rgb(171,171,171);
            }

            .nav {
                height: 2rem;
                padding: 2rem;
                display: flex;
                align-items: center;
            }


            .nav > a {
                text-decoration: none;
                padding: .25rem .5rem ;
                color: white;

            }

            .nav > a:hover {
                background-color: #212125 ;
            }

            .active {
                font-weight: bold;
                background-color: #000100;
            }

            .me{
                background-color: #4a4a4a ;
                border-radius: 12px;
                padding: 3rem ;
                margin: 1rem;
                text-align: center;
            }

            .first {
                display: flex;


            }

            .first > img {
                height: 12rem ;
                width: 10rem;
                border:  #4a4a4a 6px dashed;
                border-radius: 10px ;
            }

            .first  h2 {
                margin: .5rem  .1rem ;
            }

            .first a {
                text-decoration: none;
                color: #0d0d0d;
                background-color: #7a7a7a;
                padding: 1rem 2rem ;
            }

            .first a :hover {
                opacity: 0.7 ;
            }

            .first p {
                margin: 1rem ;
            }
            .zoom {
                transition: transform 0.25s ease;
                cursor: zoom-in;
            }
            .zoom:hover {
                transform: scale(1.5);
            }

        </style>
    </head>
    <body>
    <div class="nav">
        <a href="main.html">Главная</a>
        <a href="#" class="active">О сайте</a>
         <a href="content.html">Контент</a>
    </div>

    <div class="me">
        <div class="first">
            <img src="nu_tipa_ya.jpg" alt="Изображение" class="zoom" onclick="zoomImage(this)"/>
            <script>
                document.getElementById('nu_tipa_ya.jpg').onclick = function() {
                    this.classList.add('enlarged');
                    this.onclick = function() {
                        this.classList.remove('enlarged');
                        this.onclick = null;
                    }
                }
                function zoomImage(img) {
                    var currentScale = img.style.transform.match(/scale\(([^)]+)\)/);
                    if (currentScale) {
                        currentScale = parseFloat(currentScale[1]);
                    } else {
                        currentScale = 1;
                    }
                    if (currentScale > 1) {
                        img.style.transform = "scale(1)";
                        img.style.cursor = "zoom-in";
                    } else {
                        img.style.transform = "scale(2)";
                        img.style.cursor = "zoom-out";
                    }
                }
            </script>
            <div>
                <h2>Чаплыгин Владимир Артемович</h2>
                <p>
                    &nbsp<a href="https://t.me/zowarvcer">Telegram </a>
                  °  &nbsp<a href="https://vk.com/volodyachaplygin">VK</a>
                </p>
            </div>

        </div>

        <p style="text-align: start;">Студент ВГУ 2-го курса </p>
        <hr/>
        <h3>Что можно сказать о сайте?</h3>
        <p>Почти идеальный сайт(почти)</p>
    </div>
    <div class="footer"></div>
    <hr/>
    <center>
    <p class="develop">
    <a href="black: <PRESIDIO_ANONYMIZED_EMAIL_ADDRESS>"><PRESIDIO_ANONYMIZED_EMAIL_ADDRESS> </a>
    </p>
    </center>
    <center>

        <img src="jackpot.gif" height="300" width="400"/>
    </center>


    <h2>Время последнего входа: <span id="lastLoginTime"></span></h2>

    <button onclick="clearCookies()">Очистить cookies</button>
    <script>
        function setCookie(cookieName, cookieValue, expireDays) {
            const d = new Date();
            d.setTime(d.getTime() + (expireDays * 24 * 60 * 60 * 1000));
            const expires = "expires=" + d.toUTCString();
            document.cookie = cookieName + "=" + cookieValue + ";" + expires + ";path=/";
        }

        function getCookie(cookieName) {
            const name = cookieName + "=";
            const decodedCookie = decodeURIComponent(document.cookie);
            const cookieArray = decodedCookie.split(';');
            for (let i = 0; i < cookieArray.length; i++) {
                let cookie = cookieArray[i];
                while (cookie.charAt(0) === ' ') {
                    cookie = cookie.substring(1);
                }
                if (cookie.indexOf(name) === 0) {
                    return cookie.substring(name.length, cookie.length);
                }
            }
            return null;
        }

        function clearCookies() {
            document.cookie = "lastLogin=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
            document.getElementById('lastLoginTime').textContent = '';
        }

        const lastLogin = getCookie('lastLogin');
        if (lastLogin) {
            document.getElementById('lastLoginTime').textContent = lastLogin;
        } else {
            const currentDate = new Date();
            const currentTime = currentDate.toLocaleString();
            setCookie('lastLogin', currentTime, 30);
            document.getElementById('lastLoginTime').textContent = currentTime;
        }
    </script>
    </body>
</html> скрипт работает с ошибкой. Исправь