diff --git a/01 - JavaScript Drum Kit/index-START.html b/01 - JavaScript Drum Kit/index-START.html index 4070d32767..e963ac979d 100644 --- a/01 - JavaScript Drum Kit/index-START.html +++ b/01 - JavaScript Drum Kit/index-START.html @@ -58,6 +58,11 @@ diff --git a/02 - JS and CSS Clock/index-START.html b/02 - JS and CSS Clock/index-START.html index 7cbf5f6ba6..2bf76bb5ac 100644 --- a/02 - JS and CSS Clock/index-START.html +++ b/02 - JS and CSS Clock/index-START.html @@ -55,19 +55,53 @@ height: 100%; transform: translateY(-3px); /* account for the height of the clock hands */ } + .hour-hand { + background: yellow; + } + + .min-hand { + background: green; + } + .second-hand { + background: black; + } + .hand { width: 50%; height: 6px; - background: black; position: absolute; top: 50%; + transform-origin: 100%; + transform: rotate(90deg); + transition-timing-function: cubic-bezier(0.1, 2.7, 0.68, 1) }