Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function next() {
- var random = Math.floor(Math.random() * 15)
- document.getElementById("image").src = picture[random];
- console.log(random);
- }
- function who() {
- var thing = things[random];
- var text = document.getElementById("am").innerHTML = "I am " + thing + ".";
- console.log(text);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement