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:
pr1
pr2
const cubebutton=document.getElementById('cubebutton') const image=document.getElementById('image') var arr= ["pr1", "pr2"]
Aucun commentaire:
Enregistrer un commentaire