vendredi 18 septembre 2015

How can I show a random word after input text

I need a way to display a random word from an array after the user enters a word in the input. For example if the user enters the word 'cat' the outcome would be displayed as 'Cat' with a random word directly after it from the array, say the random word was 'mop' it would show as 'catmop'.

Hope that made any sense. :)




Aucun commentaire:

Enregistrer un commentaire