Spaces:
Running
Running
sarahciston
commited on
Commit
•
ce66456
1
Parent(s):
8f31274
add async to make button
Browse files
index.js
CHANGED
@@ -75,7 +75,7 @@ new p5(function (p5){
|
|
75 |
PROMPT_INPUT.addClass("prompt")
|
76 |
}
|
77 |
|
78 |
-
function makeButtons(){
|
79 |
let submitButton = p5.createButton("SUBMIT")
|
80 |
submitButton.size(170)
|
81 |
submitButton.class('submit')
|
|
|
75 |
PROMPT_INPUT.addClass("prompt")
|
76 |
}
|
77 |
|
78 |
+
async function makeButtons(){
|
79 |
let submitButton = p5.createButton("SUBMIT")
|
80 |
submitButton.size(170)
|
81 |
submitButton.class('submit')
|