Skip to content

Commit

Permalink
Added Global Time date and month
Browse files Browse the repository at this point in the history
  • Loading branch information
king-rohit777 authored Oct 2, 2022
1 parent d9f05db commit 8f826ca
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ <h1>To-Do List</h1>
<button onclick="closemodal()" class="modal-btn"><i class="fas fa-times"></i></button>
</div>
</div>
<span class="todayDate">Current Time: <span id="d1"></span></span>

<!-- <span class="todayDate">Current Time: <span id="d1"></span></span> -->

<!-- ToDo: To make the time render ever second -->
<span class="todayDate"> <span id="m1"></span></span>

<!-- Trigger/Open The Modal -->

<div class="buttons-wrapper">
Expand Down Expand Up @@ -109,4 +114,4 @@ <h3>Made with <i class="fas fa-heart"></i> by Avinash</h3>

</body>

</html>
</html>

0 comments on commit 8f826ca

Please sign in to comment.