+ 2
How I random a text in html without jquery?
I want to multiple text in a box for my webpage. how i random a text in html without jquery? Guys Any simple idea??
4 Answers
+ 7
Here the code that illustrates picking a random text from array to DOM element.
https://code.sololearn.com/WKWhJRdvQvkB/?ref=app
+ 3
HTML all forms of your text. Use CSS to hide them all. JavaScript to randomly pick one and modify style to show it.
+ 2
thank you John. đ
+ 1
thank you Calvin