im just trying to figure out how change the innerHTML of a div when turns is 0 and the full do…while loop is run (10 times.
do {
...
....
} while (turns > 0)
how do I know I reached the end of the loop then?
im just trying to figure out how change the innerHTML of a div when turns is 0 and the full do…while loop is run (10 times.
do {
...
....
} while (turns > 0)
how do I know I reached the end of the loop then?