Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ Random text generator

Posted by: aespa May 3 2022, 09:15 AM

Hi team,

I would like to ask you please, if you may help me to write a small HTML code, which generates 3 random words: "YES" | "NO" | "MAYBE", based on the F5 key (when you refresh/load the website).

Thank you for your advice!

KR,
LR

Posted by: pandy May 3 2022, 09:19 AM

HTML can't do things like that. It isn't a programming language. You could use JavaScript. Google "javascript random text".

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)