16th Feb 2023, 6:27 AM
山 Zed
山 Zed - avatar
2 Antworten
+ 4
Element ID used in JS must match that in HTML. You have "Lazer" in HTML but you have "lazer" in JS ... Line 3 let lazer = document.getElementById('Lazer');
16th Feb 2023, 6:38 AM
Ipang
+ 1
Ipang thank you!
16th Feb 2023, 6:45 AM
山 Zed
山 Zed - avatar