Skip to content

Commit b4637a5

Browse files
authored
Update README.md
1 parent 12173ce commit b4637a5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
<h2>Asp.Net MVC C# Countdown Timer</h2>
2-
<p>When user input hour,minute,second, and click on start button, it will display remaining time.</p>
1+
<h2>Asp.Net MVC C# Countdown Timer Full Source Code</h2>
2+
<p>In "/Home/Index.cshtml", when users input the hour,minute,second and then click on the Start button, the inputs are submitted to <code>PostCountdownTimer</code> action in <code>Home</code> controller. In the action, we get the end time by adding hour,minute,second to <code>DateTime.Now</code> and assign this end time value to <code>Session["EndTime"]</code>. Then, assign <code>Session["EndTime"]</code> value to <code>TempData["EndTime"]</code> because <code>TempData["EndTime"]</code> value is going to be used in the script section of "/Home/Index.cshtml" to calculate the duration of the time now with the TempData["EndTime"] and display the remaining time every single second.</p>
3+
<h2>Video Demo</h2>
4+
<p>Coming Soon</p>
5+
<h2>Features</h2>
6+
<p>
7+
<ul>
8+
<li>Enter Hour, Minute, Second that you need to be counting down from</li>
9+
<li>Display remaining time</li>
10+
<li>Display popup when times up</li>
11+
<li>Play audio when times up</li>
12+
</ul>
13+
</p>
14+
<h2>Screenshots</h2>
15+
<p>
16+
<img src="https://padlet-uploads.storage.googleapis.com/432143275/742f38546d349c00354c9df4cfe5fb6a/image.png" />
17+
<img src="https://padlet-uploads.storage.googleapis.com/432143275/645c7327f77b74c4e1d375de391d5530/image.png" />
18+
<img src="https://padlet-uploads.storage.googleapis.com/432143275/fad51b690409d7148b7b6666a6446b8b/image.png" />
19+
</p>

0 commit comments

Comments
 (0)