Skip to content

Commit

Permalink
Merge pull request #846 from Rohit12012007/patch-12
Browse files Browse the repository at this point in the history
Update index.html
Ayushparikh-code authored Oct 27, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
2 parents 096e43a + ddee31c commit f8da31b
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions Countdown_Timer/index.html
Original file line number Diff line number Diff line change
@@ -4,29 +4,43 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Countdown Timer</title>

<!-- Link to the CSS file -->
<link rel="stylesheet" href="style.css" />

<!-- Link to the JavaScript file -->
<script src="script.js" defer></script>
</head>
<body>
<!-- Main heading for the countdown event -->
<h1>DIWALI CELEBRATIONS</h1>

<!-- Countdown container for days, hours, minutes, and seconds -->
<div class="countdown-container">
<div class="countdown-el days-c">

<!-- Days countdown element -->
<div class="countdown-el">
<p class="big-text" id="days">0</p>
<span>days</span>
<span>Days</span>
</div>
<div class="countdown-el hours-c">

<!-- Hours countdown element -->
<div class="countdown-el">
<p class="big-text" id="hours">0</p>
<span>hours</span>
<span>Hours</span>
</div>
<div class="countdown-el mins-c">

<!-- Minutes countdown element -->
<div class="countdown-el">
<p class="big-text" id="mins">0</p>
<span>mins</span>
<span>Minutes</span>
</div>
<div class="countdown-el seconds-c">

<!-- Seconds countdown element -->
<div class="countdown-el">
<p class="big-text" id="seconds">0</p>
<span>seconds</span>
<span>Seconds</span>
</div>
</div>
</body>
</html>
</html>

0 comments on commit f8da31b

Please sign in to comment.