Skip to content

Commit 170285f

Browse files
authored
Add comments
1 parent 07c1710 commit 170285f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datetime-jsp/datetime.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<link rel="stylesheet" type="text/css" href="datetime.css" />
@@ -7,6 +8,7 @@ <h1>Enter date and time values</h1>
78

89
<body>
910
<form method="post" action="datetime.jsp">
11+
<!--Set valid date and time inputs-->
1012
<label for="year">Year:</label><br />
1113
<input
1214
type="number"
@@ -99,6 +101,7 @@ <h1>Enter date and time values</h1>
99101
</button>
100102
<input type="submit" value="Submit" />
101103
</form>
104+
<!--Use JavaScript to make sure the date and time values are vaild-->
102105
<script src="datetime.js"></script>
103106
</body>
104107
</html>

0 commit comments

Comments
 (0)