mardi 28 avril 2015

How do I display 3 randomly selected words from a list in set order in Javascript?

The idea is to generate a random reverse acronym for the acronym 'REG' using a list of words that begin with 'R', 'E' and 'G'. Every time you visit the page that the code is on it should pick a word from each list and place them in the REG order (example: Rodent Echo Ghost, Ronald Evening Garden, etc.)

Optional would be the ability to choose the font family, size and colour.

I searched around for this kind of code but to no avail. Probably also good to mention that I don't have much experience with Javascript at all, so any help is appreciated.




Aucun commentaire:

Enregistrer un commentaire