MCPcopy Index your code
hub / github.com/TechSpiritSS/Terminal-Portfolio / writeCode

Function writeCode

scripts/functions.js:444–450  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 p.scrollIntoView({ behavior: 'smooth' });
443 let index = 0;
444 async function writeCode() {
445 while (index < code.length) {
446 span.innerHTML += code[index++];
447 await new Promise((writeCode) => setTimeout(writeCode, typingSpeed));
448 }
449 return;
450 }
451 await writeCode();
452
453 p.innerHTML += " "

Callers 1

createCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected