We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17adfbd commit 23e660eCopy full SHA for 23e660e
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,12 @@
1
-const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+const a24HourClockTime = "20:53";
+const a12hourClockTime = "08:53";
3
+
4
+// The 12HourClockTime variable should store the time in 12-hour format
5
+// The 24hourClockTime variable should store the time in 24-hour format
6
7
+// However, the code isn't working
8
+// the error is that the variable names are not valid because they start with a number
9
+// Variable names cannot start with a number
10
11
+console.log(a24HourClockTime); // Should print: 08:53
12
+console.log(a12hourClockTime); // Should print: 20:53
0 commit comments