Skip to content

Commit

Permalink
add html for 78_Sine_Wave
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Mar 17, 2022
1 parent 62f3781 commit 756b7dd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 78_Sine_Wave/javascript/sinewave.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<head>
<title>SINE WAVE</title>
<link rel="stylesheet" href="../../00_Utilities/javascript/style_terminal.css" />
</head>
<body>
<pre id="output"></pre>
<script>
/* redirect console.log messages to the output-element in the DOM */
window.console = {
log: (text) => document.getElementById("output").innerHTML += text + "<br>"
}
</script>
<script src="sinewave.js"></script>
</body>
</html>

0 comments on commit 756b7dd

Please sign in to comment.