-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (63 loc) · 2.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Try Your Luck | Magic Lottery</title>
<!-- link style stylesheet -->
<link rel="stylesheet" href="style.css" />
<!-- link to FontAwesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- link Bootstrap 5 -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</head>
<body class="bg-success">
<!-- title -->
<div id="title" class="my-5">
<h1 class="fs-1 fw-bold text-white text-center">Lottery Ticket</h1>
</div>
<main
id="wrapper"
class="d-flex flex-column align-items-center justify-content-center mx-auto"
>
<!-- ticket section -->
<section id="top-section" class="d-flex flex-column w-100">
<!-- ticket to be filled dinamically with JS -->
<div id="ticket-container" class="mb-5 bg-light">#ticket-container</div>
<!-- user chosed numbers to be populated by JS -->
<div id="choices-container" class="mb-5 w-100">#choices-container</div>
<hr class="bg-light" />
</section>
<!-- random numbers section -->
<section
id="bottom-section"
class="d-flex flex-column align-items-center w-100"
>
<a class="btn btn-dark border-light fs-3 px-5 fw-bold my-5">Draw</a>
<div id="winning-numbers-container" class="mb-5">
#winning-numbers-container
</div>
<!-- display results message from JS -->
<div id="message-container">#mesage-container</div>
</section>
</main>
<script src="main.js"></script>
</body>
</html>