김한준

누적 번호 보기 및 번호 추천 기능 추가

......@@ -22,7 +22,6 @@
<p>로또 번호를 생성하고 각 회차의 당첨번호와 비교합니다</p>
<p>회차 선택시 1등 당첨번호가 바뀌며 선택한 회차의 당첨번호와</p>
<p>생성한 당첨번호를 비교하여 각 등수의 당첨확률을 보여줍니다</p>
<div class="container">
<div class="row p-4">
<div class="col-xs-12">
......@@ -35,18 +34,6 @@
</div>
<button class="btn btn-primary" type="submit">결과 보기</button>
</form>
<pre id="result"></pre>
<section id="winner" class="shadow">
<h2 id="lottok">loading...</h2>
<div class="output" id="output0"></div>
<div class="output" id="output1"></div>
<div class="output" id="output2"></div>
<div class="output" id="output3"></div>
<div class="output" id="output4"></div>
<div class="output" id="output5"></div>
<div class="output" style="box-shadow:none; color:#000;">+</div>
<div class="output" id="output6"></div>
</section>
</div>
</div>
</div>
......@@ -57,13 +44,28 @@
<p style="position:absolute;top:calc(50% + 100px);width:100%;">
<input type="text" id="inputnum" value="5" size="2"><span class="key" onclick="count()">시작</span>
랜덤 번호 생성 <input type="text" id="inputnum" value="5" size="2"><span class="key" onclick="count()">시작</span><span class="key" onclick="
accumulate_number()">누적번호&번호추천</span><span class="key" onclick="resets()">초기화</span>
</p>
<section id="winner" class="shadow">
<h2 id="lottok">loading...</h2>
<div class="output" id="output0"></div>
<div class="output" id="output1"></div>
<div class="output" id="output2"></div>
<div class="output" id="output3"></div>
<div class="output" id="output4"></div>
<div class="output" id="output5"></div>
<div class="output" style="box-shadow:none; color:#000;">+</div>
<div class="output" id="output6"></div>
</section>
<div id="stats"></div>
<ol id="lottotable"></ol>
<ol id="accumulate_table"></ol>
<ol id="recom_table"></ol>
</body>
......