Generating a random link through Javascript/HTML

前端 未结 3 1206
北海茫月
北海茫月 2021-01-07 14:30

I am trying to create a script that allows me to display a hyperlink that redirects the user to a random url selected out of four sites. So far I have created an array for t

3条回答
  •  一向
    一向 (楼主)
    2021-01-07 15:08

    Here's a simple way to do it.

    
    Random
    

提交回复
热议问题