-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 1.48 KB
/
index.html
File metadata and controls
42 lines (38 loc) · 1.48 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap"
rel="stylesheet"
/>
<title>Is your Card Legal?</title>
</head>
<body>
<!-- header -->
<h1 id="header_Header">Is it Legal?</h1>
<p class="header_InfoText"> A webpage that displays the legal formats of your Magic: the Gathering cards </p>
<!-- input field -->
<div class="input_Container">
<input type="text" id="input_CardName" name="input_CardName" placeholder=" Enter card name here" />
<button id="button_GetSpecific" for="input_CardName" type="submit"> <img id="searchIcon" src="searchIconBig.svg" alt="search icon"> </button>
</div>
<!-- button for random card -->
<button id="button_GetRandom">Get Random Card</button>
<!-- container for the displayed search result -->
<div id="display_Container">
<div id="display_MtgCard">
<img id="display_MtgImg" src="" alt="" />
<p id="display_CardHeader"></p>
</div class="display_UlContainer">
<ul id="display_Ul">
<p id="display_UlLabel"></p>
</ul>
</div>
<script src="script.js"></script>
</body>
</html>