diff --git a/index.html b/index.html index 0b71d66..3cd65d2 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ Trova il tuo segno - + Chiedi il tuo pronostico @@ -278,8 +278,17 @@ /*******************************************************************************************************************************************************/ /***********************************************Sezione Content*****************************************************************************************/ + let keepGoing = true; + + const arrayFrasiCaricamento = [ + "frase 1", + "frase 2" + ] + function predizione(){ + frasiCaricamento(); + Oroscopo(); + } async function Oroscopo() { - //frasiCaricamento(); document.getElementById("output").innerHTML = ""; document.getElementById("bottone").innerHTML = @@ -454,6 +463,14 @@ .forEach((tag) => (tag.style.display = "none")); campoSegno.disabled = true; } + + function frasiCaricamento(){ + let i = 0; + document.getElementById('output').innerHTML = arrayFrasiCaricamento[i]; + /*while(keepGoing){ + if(i%7==0) document.getElementById('output').innerHTML = arrayFrasiCaricamento[i]; + }*/ + } /*******************************************************************************************************************************************************/