Adjust structure of page, add background image
This commit is contained in:
parent
c2cd07a005
commit
45239a9254
6 changed files with 42 additions and 14 deletions
33
index.html
33
index.html
|
|
@ -7,24 +7,31 @@
|
|||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Rock Paper Scissors</h1>
|
||||
<header><h1>Rock Paper Scissors</h1></header>
|
||||
|
||||
|
||||
<div class = "buttons">
|
||||
<button class = "button" id = "rock">Rock</button>
|
||||
<button class = "button" id = "paper">Paper</button>
|
||||
<button class = "button" id = "scissors">Scissors</button>
|
||||
</div>
|
||||
<main>
|
||||
<div class = "buttons">
|
||||
<button class = "button" id = "rock">Rock</button>
|
||||
<button class = "button" id = "paper">Paper</button>
|
||||
<button class = "button" id = "scissors">Scissors</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class = "score">
|
||||
<div class = "score-text"> You: <span id = "player">0</span></div>
|
||||
<div class = "score-text">Compy: <span id = "computer">0</span></div>
|
||||
</div>
|
||||
<div class = "score">
|
||||
<div class = "score-text"> You: <span id = "player">0</span></div>
|
||||
<div class = "score-text">Compy: <span id = "computer">0</span></div>
|
||||
</div>
|
||||
|
||||
<div class="count">Rounds Played: <span id = "rounds">0</span></div>
|
||||
<div class="count">Rounds Played: <span id = "rounds">0</span></div>
|
||||
|
||||
<div id = "msg"></div>
|
||||
<div id = "msg"></div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
Created by <a href="https://andrindie.com" target="_blank" rel="noreferrer">Octavia Nichols</a>
|
||||
for <a href="https://www.theodinproject.com/lessons/foundations-rock-paper-scissors" target="_blank" rel="noreferrer">The Odin Project</a>.
|
||||
Check out the code on <a href="https://github.com/Lolabird/odin-rock-paper-scissors" target="_blank" rel="noreferrer">GitHub</a>.
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in a new issue