This commit is contained in:
chris 2023-01-15 10:39:49 -05:00
parent dc0a5597e2
commit b372fbc304
3 changed files with 72 additions and 2 deletions

View File

@ -18,7 +18,9 @@
</head> </head>
<body> <body>
<div id="video1"> <div id="video1">
<video id="video" controls controlslist="nodownload" src="raya.mp4" type="video/mp4"> <video id="video" controls controlslist="nodownload" src="/home/chrisserver/media/Movies/The Princess and the Frog (2009) [1080p]/The.Princess.and.the.Frog.2009.1080p.BrRip.x264.YIFY.mp4
" type="video/mp4">
Your browser doesn't support embedded video. Sorry. Your browser doesn't support embedded video. Sorry.

View File

@ -36,7 +36,8 @@ function shuffle_dice() {
function showMath(){ function showMath(){
var numBlock = document.getElementById('numbers'); var numBlock = document.getElementById('numbers');
console.log(numBlock.style.display) console.log(numBlock.style.display)
if (numBlock.style.display === "none") { if (numBlock.style.display === "none") {
document.getElementById("show").innerHTML = "Hide Math";
    numBlock.style.display = "block";     numBlock.style.display = "block";
  } else {   } else {
    numBlock.style.display = "none";     numBlock.style.display = "none";

67
yatzee/new.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yahtzee</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/menu/menu.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
</head>
<body>
<script defer src="/menu/menu.js"></script>
<div id="navContainer"></div>
<header>
<span id="highScore">High Score:</span>
<span id="fullScreen"></span>
</header>
<div id="game">
<div id="diceBoard">
<img class='dice_pic' onclick='hold(this)' src="dice/die1.png">
<img class='dice_pic' onclick='hold(this)' src="dice/die2.png">
<img class='dice_pic' onclick='hold(this)' src="dice/die3.png">
<img class='dice_pic' onclick='hold(this)' src="dice/die4.png">
<img class='dice_pic' onclick='hold(this)' src="dice/die5.png">
</div>
<button id="roll" onclick="rollDice()">Roll</button>
<div id="scoreBoard">
<div id="upper">
<span class="upperLable" >One</span>
<span class="upperLable" >Two</span>
<span class="upperLable" >Three</span>
<span class="upperLable" >Four</span>
<span class="upperLable" >Five</span>
<span class="upperLable" >Six</span>
<br>
<div>
<span class="upperScore" id="oneScore">0</span>
<span class="upperScore" id="twoScore">0</span>
<span class="upperScore" id="threeScore"></span>
<span class="upperScore" id="fouScore"></span>
<span class="upperScore" id="fiveScore"></span>
<span class="upperScore" id="sixScore"></span>
</div>
</div>
<div id="lower">
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>