
// Typing effect function
function typeEffect(text) {
    let index = 0;
    let resultDiv = document.getElementById('contentGeResult');
    resultDiv.innerHTML = "";

    function typeNext() {
        if (index < text.length) {
            resultDiv.innerHTML += text.charAt(index);
            index++;
            setTimeout(typeNext, 20);
        }
    }

    typeNext();
}

