diff --git a/02 - JS + CSS Clock/index-FINISHED.html b/02 - JS + CSS Clock/index-FINISHED.html index d4cb3b56a8..915089ce97 100644 --- a/02 - JS + CSS Clock/index-FINISHED.html +++ b/02 - JS + CSS Clock/index-FINISHED.html @@ -84,8 +84,8 @@ const minsDegrees = ((mins / 60) * 360) + 90; minsHand.style.transform = `rotate(${minsDegrees}deg)`; - const hour = now.getHours(); - const hourDegrees = ((mins / 12) * 360) + 90; + const hours = now.getHours(); + const hourDegrees = ((hours / 12) * 360) + 90; hourHand.style.transform = `rotate(${hourDegrees}deg)`; }