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 99d2cce commit 94f6abdCopy full SHA for 94f6abd
02 - JS + CSS Clock/index-FINISHED.html
@@ -84,7 +84,7 @@
84
constminsDegrees=((mins/60)*360)+90;
85
minsHand.style.transform=`rotate(${minsDegrees}deg)`;
86
87
-consthour=now.getMinutes();
+consthour=now.getHours();
88
consthourDegrees=((mins/12)*360)+90;
89
hourHand.style.transform=`rotate(${hourDegrees}deg)`;
90
}
0 commit comments