![]() ![]() Tabs on the card with a purchase in a secondĬonst tabsCountPerSec = document.querySelectorAll('. Upgrade prices for purchase from the userĬonst pricesUpgradesPerUser = document.querySelectorAll('.price-user')Ĭonst pricesPerOneUpgrade = document.querySelectorAll('.price-1')Ĭonst btnsBuyUpgrade = document.querySelectorAll('.button-buy')Ĭonst tabsCountPerClick = document.querySelectorAll('.tab-count-per-click') Number of Upgrades to purchase assigned by the userĬonst countsUpgradesPerUser = document.querySelectorAll('.user-value-upgrade') Cards with the purchase of cookies per click / secĬonst cardsWithBuyUpgrade = document.querySelectorAll('.button-upgrade') Counters with number of cookies per click/secĬonst cookiePerClickCounter = document.querySelector('#cookie-per-click')Ĭonst cookiePerSecCounter = document.querySelector('#cookie-per-sec')Ĭonst btnResetData = document.querySelector('.reset-data') Can you please point out the errors and correct the code? the site complains that it needs to write more text, but I don’t know what else to writeĬonst button = document.querySelector('.cookie')Ĭonst cookieCounter = document.querySelector('#cookie-counter') For instance, if you buy Antimatter Condenser, the number of cookies you can generate per second will grow significantly.I'm new to JS, so I'm most likely coding badly. This operation adds the number of cookies that you earn per second. Step 5: Now you can use the generated cookies to purchase any structure or item in the game only if you have enough cookies. More importantly, this command can be used repeatedly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |