diff --git a/index.html b/index.html index b3625db..fc282e0 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@ { el.innerHTML = el.innerHTML+words[word_counter][character_counter++]; - if(character_counter == words[word_counter].length) + if(character_counter == words[word_counter].length + 1) { word_counter++; //choose a different word character_counter = 0; //start over with the first character of the word @@ -52,4 +52,4 @@ - \ No newline at end of file +