jeudi 14 mai 2020

Javascript random election

I'm new in javascript! I'm trying to get a random election of pr1 and pr2, but I can't. Here is the code:

const cubebutton=document.getElementById('cubebutton')
const image=document.getElementById('image')
var arr= ["pr1", "pr2"]



Aucun commentaire:

Enregistrer un commentaire