Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
public_html
/
jewel
/
soundwave-template
/
js
/
custom
/
File Content:
scripts.js
const counters = document.querySelectorAll('.counter'); const speed = 200; counters.forEach(counter => { const updateCount = () => { const target = +counter.getAttribute('data-target'); const count = +counter.innerText; const inc = target / speed; if (count < target) { counter.innerText = Math.ceil(count + inc); setTimeout(updateCount, 1); } else { count.innerText = target; } }; updateCount(); });
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
6487 bytes
0644
scripts.js
452 bytes
0644
N4ST4R_ID | Naxtarrr