-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (26 loc) · 972 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/addons/p5.sound.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/ml5.min.js"></script>
<meta charset="utf-8" />
</head>
<body>
<h1>"do.</h1>
<h1>or do not.</h1>
<h1>there is no try"</h1>
<button onclick="myFunction()"> 🌌 C H A L L E N G E 🌌</button>
<p id="demo"></p>
<!--
<p>A function is triggered when the button is clicked. The function outputs some text in a p element with id="demo".</p>
-->
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "obtain this sequence 🚀 🚀 🚀 🌟 🛰️ 🚀 🌟 🛰️ 🚀";
}
</script>
<script src="sketch.js"></script>
</body>
</html>