Skip to content
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
224 changes: 124 additions & 100 deletions README.md

Large diffs are not rendered by default.

52 changes: 25 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
<!DOCTYPE html>
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>숫자 야구 게임</title>
</head>

<head>
<meta charset="UTF-8" />
<title>숫자 야구 게임</title>
</head>

<body>
<div id="app">
<h1>⚾ 숫자 야구 게임</h1>
<p>
<strong>1~9까지의 수</strong>를 중복없이
<strong>3개</strong> 입력해주세요. <br />
올바른 예) 139 <br />
틀린 예) 122
</p>
<form>
<input type="text" id="user-input" />
<button id="submit">확인</button>
</form>
<h3>📄 결과</h3>
<div id="result">1볼 1스트라이크</div>
<button id="game-restart-button">재시작</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/@woowacourse/mission-utils@1.0.1/dist/mission-utils.min.js"></script>
<script type="module" src="src/index.js"></script>
</body>

<body>
<div id="app">
<h1>⚾ 숫자 야구 게임</h1>
<p>
<strong>1~9까지의 수</strong>를 중복없이
<strong>3개</strong> 입력해주세요. <br />
올바른 예) 139 <br />
틀린 예) 122
</p>
<form>
<input type="text" id="user-input" />
<button type="button" id="confirm-button">확인</button>
</form>
<h3>📄 결과</h3>
<div id="result"></div>
<button id="game-restart-button" style="display: none">재시작</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/@woowacourse/mission-utils@1.0.1/dist/mission-utils.min.js"></script>
<script type="module" src="src/index.js"></script>
</body>
</html>
Binary file added mvc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading