Untitled

 avatar
user_2075256
html
2 years ago
1.0 kB
4
Indexable
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NewYear Countdown</title>
    <link rel="stylesheet" href="./style.css">
</head>

<body>
    <p>Countdown to</p>
        <h2 class="newyear">New Year</h2>
        
        <div class="counter">
            <div class="box">
                <h2 id="day">00</h2>
                <small>Days</small>
            </div>

            <div class="box">
                <h2 id="hour">00</h2>
                <small>Hours</small>
            </div>

            <div class="box">
                <h2 id="minute">00</h2>
                <small>Minutes</small>
            </div>

            <div class="box">
                <h2 id="second">00</h2>
                <small>Seconds</small>
            </div>
        </div>

        <script src="./script.js"></script>
</body>

</html>
Editor is loading...