forked from Very-cool-guy/Very-cool-guy.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrandomMtgCard.html
More file actions
29 lines (23 loc) · 791 Bytes
/
Copy pathrandomMtgCard.html
File metadata and controls
29 lines (23 loc) · 791 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random MTG Card</title>
<link rel="stylesheet" href="styles/MtgCard.css">
</head>
<body>
<div class="container">
<h1>🎴 Random MTG Card</h1>
<div class="card" id="card">
<img id="cardImage" src="" alt="MTG Card">
<div class="card-name" id="cardName">Loading...</div>
<div class="card-type" id="cardType"></div>
<div class="card-text" id="cardText"></div>
</div>
<button id="randomBtn">Get Random Card</button>
<div class="loading" id="loading"></div>
</div>
<script src="scripts/randomCard.js"></script>
</body>
</html>