Compare commits

..

No commits in common. "5222af6ad6c2a4ee293a53a34f407dadc99ab871" and "dc0a5597e25924244cb8ec3eed9f2fb22227d405" have entirely different histories.

4 changed files with 3 additions and 74 deletions

View File

@ -27,7 +27,7 @@
<!-- <div id="navContainer"></div> -->
<script>
if('serviceWorker' in navigator) {
window.addEventListener('load', () => {
window.addEventListiner('load', () => {
navigator.serviceWorker.register('sw.js')
.then((registration) => {
console.log(`service worker registered succesfully ${registration}`)
@ -56,7 +56,6 @@
</div>
<main>
<iframe src="" frameborder="0"></iframe>
<div id="player1" class="player">
<div class="name" id="name1" contenteditable="true">
Player 1</div>

View File

@ -18,9 +18,7 @@
</head>
<body>
<div id="video1">
<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">
<video id="video" controls controlslist="nodownload" src="raya.mp4" type="video/mp4">
Your browser doesn't support embedded video. Sorry.

View File

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

View File

@ -1,67 +0,0 @@
<!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>