addEventListener("animationiteration"RanHole) How do I add the extension animationiteration in Visual Studio? When I type in addEventListern animationiteration doesn't come up on the list that opens?
var hole = document.getElementById("hole");
var game = document.getElementById("game");
hole.addEventListener("animationiteration", RanHole)
function RanHole(){
var random =-((Math.random()*350)+150)
hole.style.top = random+"px";
}
var hole = document.getElementById("hole");
var game = document.getElementById("game");
hole.addEventListener("animationiteration", RanHole)
function RanHole(){
var random =-((Math.random()*350)+150)
hole.style.top = random+"px";
}