Sarah Ciston
commited on
Commit
·
0ad633f
1
Parent(s):
e178792
test what's in blanks list of class items from query select all
Browse files
sketch.js
CHANGED
@@ -121,18 +121,20 @@ new p5(function(p5){
|
|
121 |
function test(){
|
122 |
console.log('did test')
|
123 |
//make sure to set these variables to the values here, at the moment of button press, otherwise they will be blank
|
124 |
-
promptResult = promptInput.value()
|
125 |
// blankAResult = blankA.value()
|
126 |
// blankBResult = blankB.value()
|
127 |
// blankCResult = blankC.value()
|
128 |
|
129 |
let blanks = document.querySelectorAll(".blank")
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
|
|
|
|
136 |
// console.log(promptResult, inputArray)
|
137 |
}
|
138 |
|
|
|
121 |
function test(){
|
122 |
console.log('did test')
|
123 |
//make sure to set these variables to the values here, at the moment of button press, otherwise they will be blank
|
124 |
+
// promptResult = promptInput.value()
|
125 |
// blankAResult = blankA.value()
|
126 |
// blankBResult = blankB.value()
|
127 |
// blankCResult = blankC.value()
|
128 |
|
129 |
let blanks = document.querySelectorAll(".blank")
|
130 |
|
131 |
+
console.log(blanks.values(), blanks.entries(), blanks.keys(), promptInput.value())
|
132 |
+
|
133 |
+
// for (let b in blanks){
|
134 |
+
// console.log(b)
|
135 |
+
// // let blankResult = b.value()
|
136 |
+
// append(inputArray, blankResult)
|
137 |
+
// }
|
138 |
// console.log(promptResult, inputArray)
|
139 |
}
|
140 |
|