Skip to content

Commit 810e356

Browse files
authored
Merge pull request wesbos#49 from beausmith/copy-pasta-hour
copy-pasta typo
2 parents 45e08db + 30e0400 commit 810e356

File tree

2 files changed

+1
-97
lines changed

2 files changed

+1
-97
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
minsHand.style.transform = `rotate(${minsDegrees}deg)`;
8686

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

02 - JS + CSS Clock/index.html

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)