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 9328618 commit 4207936Copy full SHA for 4207936
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,8 @@
1
const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+const 24hourClockTime = "08:53";
3
+
4
+// syntax error: java script does not allow variable names to start with a number as in above examples: "12HourClockTime", "24hoursClockTime".
5
+// The value does not match in both 24hour and 12hour formats.
6
+// Solution: move the numbers after the words or spell the numbers out.
7
+// the variables should be named like this: const hourClockTime12 = "08:53";, const hourClockTime24 = "20:53";.
8
+// Or like spell the number out: const twelveHourClockTime = "08:53"; , const twentyFourHourClockTime = "20:53";.
0 commit comments