Skip to content

Commit

Permalink
Add return to game button to End Game modal, attempt to add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
sschipke committed Sep 6, 2019
1 parent 70be619 commit fd17bc2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added src/.DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!DOCTYPE html>
P<!DOCTYPE html>
<html lang="en-US">
<head>
<title>feud</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/feud_icon">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface&display=swap" rel="stylesheet">
</head>
Expand Down
10 changes: 5 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import './images/feud_subtitle.png';
import './images/feud_splash_bkgd.png';
import './images/feud_modal_bkgd.png';
import './images/feud_vs.png';
import './images/feud_icon.png'

import data from './data.js';

Expand Down Expand Up @@ -71,7 +72,7 @@ $('#submit-guess').on('keypress click', (e) => {
$('#guess-input').val('');
game.currentRound.logGuesses(game.currentRound.turnCounter, guess)
}
}
}
})

$('.help').click(showHelpModal);
Expand Down Expand Up @@ -180,11 +181,10 @@ function countdown() {
<li class="modal-text">Once you click the button below, you will lose all your progress</li>
<li class="modal-text">Click the button below to end the game</li>
</ul>
</p><button class="end-modal">End Game!!</button>
<div class="endgame-buttons">
<button class="end-modal">End Game!!</button> <button class="return-game"> Return to Game </button>
</div>
</div>
</div>`).insertAfter('#main-survey-guess')
}
Expand Down

0 comments on commit fd17bc2

Please sign in to comment.