Skip to content

Commit eb2d515

Browse files
committed
closes #524
1 parent d40fbff commit eb2d515

File tree

2 files changed

+8
-0
lines changed
  • 2-ui/1-document/07-modifying-document/10-clock-setinterval

2 files changed

+8
-0
lines changed

2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.view/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,11 @@
5454
clockStart();
5555
</script>
5656

57+
<!-- click on this button calls clockStart() -->
58+
<input type="button" onclick="clockStart()" value="Start">
59+
60+
<!-- click on this button calls clockStop() -->
61+
<input type="button" onclick="clockStop()" value="Stop">
62+
5763
</body>
5864
</html>

2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ importance: 4
77
Create a colored clock like here:
88

99
[iframe src="solution" height=60]
10+
11+
Use HTML/CSS for the styling, Javascript only updates time in elements.

0 commit comments

Comments
 (0)