+ 2
Why cant js find the element altought it exitsts ? (Dom problem)
Hey there, im working on a factory game for the sololearn Community and at line 282 the dom element can't find the lable although it exists This part of the code generates the middle of the iron ores Can someone pls look for the Problem ? https://code.sololearn.com/WpmvhhM81Y2o/?ref=app
2 Answers
+ 2
You should use label_id instead and you missed a "r" in backgroundColor.
Btw, the for loop condition should use "<" instead of "<=".
0
Hey, your project is great.
Can you plz plz plz give me an overview of how it works. Please đ„ș.