Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update index-FINISHED.html
  • Loading branch information
Sergiy Dybskiy authored Dec 13, 2016
commit 9ee39737dac127afd7c2fbf6b2d8c0b441a204f5
2 changes: 1 addition & 1 deletion 02 - JS + CSS Clock/index-FINISHED.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
minsHand.style.transform = `rotate(${minsDegrees}deg)`;

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

Expand Down