Skip to content

Commit 27d0ed9

Browse files
committed
add html for 78_Sine_Wave
1 parent 01937fd commit 27d0ed9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

78_Sine_Wave/javascript/sinewave.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html>
2+
<head>
3+
<title>SINE WAVE</title>
4+
<link rel="stylesheet" href="../../00_Utilities/javascript/style_terminal.css" />
5+
</head>
6+
<body>
7+
<pre id="output"></pre>
8+
<script>
9+
/* redirect console.log messages to the output-element in the DOM */
10+
window.console = {
11+
log: (text) => document.getElementById("output").innerHTML += text + "<br>"
12+
}
13+
</script>
14+
<script src="sinewave.js"></script>
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)