Display a random word in HTML? (from a word list)

Pawel75 Posted messages 21 Registration date   Status Member Last intervention   -  
jordane45 Posted messages 30426 Registration date   Status Moderator Last intervention   -

Hello,

On a single-page website, I would like to put a large button in the middle and when you click it it shows me a random word from a specific list of 6 words.

And each time I click the button again it shows me another word from this list.

I'm on Wix, I feel like Wix only allows me to add HTML code, not another language, and I don't know if it's possible to do this in HTML?

Thanks in advance


1 answer

  1. jordane45 Posted messages 30426 Registration date   Status Moderator Last intervention   4 830
     

    Hello,

    HTML is not a programming language... no ... you won’t be able to do that with just HTML.

    It seems that you can use JS


    .
    Best regards,
    Jordane

    0