why wont this code work?
<html> <head> <title>Snow Clicker</title> <h3><button onclick="snowClick(1)">shovel</button> snow: <span id="money">0</sapn> <h3>snow upgrades</h3> <p>shovel: <span id="shovel">0</span> </head> <body> <button onclick+"buyShovel()">Buy Shovel</button> Cost: <span id=beginnercost">10</span> <script> var money = 0; function snowClick(number){ money = money + number; document.getElementById("money").innerHTML = money; }; var shovel = 0; function buyshovel(){ var beginnercost = Math.floor(10 * Math.pow(3.2,Beginner)); if (money>= beginnerCost){ beginner = beginner +0.1; money = money - beginnercost: document.getElementById('beginner').innerHTML = beginner; document.getElementById('money').innerHTML = money }; var next cost = math.floor(10 * Math.pow(3.2,beginner)); document.getElementById('nextCost'). innerHTML = nextCost; }; windows.setInterval(function(){ snowclick(beginner); }, 1000}; </script> </body>beginnercost </html>