Dice.js
//Prints dice roll in rollDiceClicked to the page if randomNumber over 6
Prints dice roll in rollDiceClicked to the page if randomNumber over 6
Prints dice roll in rollDiceClicked to the page if randomNumber over 6
function printNumber(number) {
  let placeholder = document.getElementById('dice');
  placeholder.innerHTML = number;
  let button = document.getElementById('button');
  printNumber(result);
}
function printNumber ( number ) { let placeholder = document . getElementById ( 'dice' ) ; placeholder . innerHTML = number ; let button = document . getElementById ( 'button' ) ; printNumber ( result ) ; }
Prints dice roll in rollDiceClicked to the page if randomNumber over 6
Prints dice roll in rollDiceClicked to the page if randomNumber over 6