java.js
// Used to create a typing effect
Used to create a typing effect
Used to create a typing effect
async function typingEffect(typingText, typingSpeed, typingElement) {
	let i = 0;
	while (i < typingText.length) {
		document.getElementById(typingElement).innerHTML += typingText.charAt(i);
		i++;
		const typingspeedmin = typingSpeed - 10;
		const typingspeedmax = typingSpeed + 10;
		const selectedtypingspeed = randInt(typingspeedmin, typingspeedmax);
		await sleep(selectedtypingspeed);
	}
}
async function typingEffect ( typingText , typingSpeed , typingElement ) { let i = 0 ; while ( i < typingText . length ) { document . getElementById ( typingElement ) . innerHTML += typingText . charAt ( i ) ; i ++ ; const typingspeedmin = typingSpeed - 10 ; const typingspeedmax = typingSpeed + 10 ; const selectedtypingspeed = randInt ( typingspeedmin , typingspeedmax ) ; await sleep ( selectedtypingspeed ) ; } }
Used to create a typing effect
Used to create a typing effect