Adjust structure of page, add background image

This commit is contained in:
lolabird 2023-12-28 21:32:29 -07:00
commit 45239a9254
6 changed files with 42 additions and 14 deletions

View file

@ -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>