

(IF some condition is met THEN do some action ELSE do something else) The If/Then/Else construct does not allow for iteration over a collection of objects, instead it only handles decision making. Welcome to StackOverflow and the wonderful world of JavaScript programming!

Var words = document.getElementById('calm') Sin" Ĭalm1= "Our backs tell stories no books have the spine to carry― Rupi Kaur" Ĭalm1= "what is stronger than the human heart which shatters over and over and still lives― Rupi Kaur" Ĭalm1= "the world gives you so much pain and here you are making gold out of it- there is nothing purer than that― Rupi Kaur" Ĭalm1= "fall in love with your solitude― Rupi Kaur" Ĭalm1= "You do not just wake up and become the butterfly -Growth is a process.― Rupi Kaur" ĭocument.getElementById("calm").innerHTML = calm1 You cannot serve from an empty vessel.– Eleanor Brown" Ĭalm1= "Loneliness is a sign you are in desperate need of yourself.― Rupi Kaur," Ĭalm1= "do not look for healingat the feet of thosewho broke you― Rupi Kaur," Ĭalm1= "if you were born with the weakness to fall you were born with the strength to rise― Rupi Kaur" Ĭalm1= "you kill your future by mourning the past― R.H.

Right now my array just looks like lines of text on a screen when opened in my browser.Ĭalm1= "Silence is the element in which great things fashion themselvesĬalm1= "Take a deep breathe in and count to 7 seconds " Ĭalm1= "Self-care is not selfish. I want the the items in the array to individually appear on the screen and then disappear one after the other. I am trying to loop through the array below using if then and else statements and the function cardCounter.
You cannot serve from an empty vessel meaning how to#
I not know anyone who can help me with this and have watched allot of youtube videos on how to try and solve my problem.
