Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guess who #329

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
</head>
<body>
<aside class="question-section">
<button type="button" id="restart" class="outlined-button">RESTART</button>
<button type="button" id="restart" class="outlined-button">
RESTART
</button>

<img
class="guess-who-icon"
Expand All @@ -26,14 +28,24 @@ <h1>Does the person have</h1>
<optgroup label="hair">
<option value="brown">brown hair</option>
<option value="yellow">yellow hair</option>
<option value="hidden">hidden hair</option>
<option value="black">black hair</option>
<option value="grey">grey hair</option>
<option value="orange">orange hair</option>
<option value="purple">purple hair</option>
<option value="white">white hair</option>
<!-- Add the rest of hair colors as options -->
</optgroup>
<optgroup label="eyes">
<option value="green">green eyes</option>
<option value="brown">brown eyes</option>
<option value="blue">blue eyes</option>
<option value="hidden">hidden eyes</option>
<!-- Add the rest of eye colors as options -->
</optgroup>
<optgroup label="accessories">
<option value="glasses">glasses</option>
<option value="hat">hat</option>
<!-- Add the other accessory option here. (hat) -->
</optgroup>
<optgroup label="other">
Expand All @@ -50,13 +62,10 @@ <h1>Does the person have</h1>

<section id="winOrLose" class="win-or-lose-wrapper">
<div class="win-or-lose">
<img
class="guess-who-icon"
src="images/guess-who-bubble.png"
alt="Guess Who"
/>
<h1 id="winOrLoseText"></h1>
<button type="button" id="playAgain" class="filled-button">PLAY AGAIN</button>
<button type="button" id="playAgain" class="filled-button">
PLAY AGAIN
</button>
</div>
</section>
<script src="script.js"></script>
Expand Down
Loading