Skip to content

Commit fe7b3dd

Browse files
authored
Merge pull request #1 from SunYuqing/SunYuqing-patch-1
update index-FINISHED.html
2 parents 45e08db + 2bb640d commit fe7b3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

02 - JS + CSS Clock/index-FINISHED.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
const minsDegrees = ((mins / 60) * 360) + 90;
8585
minsHand.style.transform = `rotate(${minsDegrees}deg)`;
8686

87-
const hour = now.getHours();
88-
const hourDegrees = ((mins / 12) * 360) + 90;
87+
const hours = now.getHours();
88+
const hourDegrees = ((hours / 12) * 360) + 90;
8989
hourHand.style.transform = `rotate(${hourDegrees}deg)`;
9090
}
9191

0 commit comments

Comments
 (0)