-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (36 loc) · 1.13 KB
/
index.html
File metadata and controls
39 lines (36 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Codewars Badge</title>
<meta
name="description"
content="Extending HTML to create a new component"
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./style.css">
</head>
<body>
<template id="card">
<section id="my_card">
<div id="badge_div"></div>
<h3>Full name</h3>
<h4>Clan</h4>
<h4>Score</h4>
<div id="stickers_div"></div>
</section>
</template>
<section id="search_bar">
<label for="username">
Enter Codewars Username:
<input type="text" id="username" placeholder="Codewars username..." />
</label>
<button id="fetchData">Get Card</button>
</section>
<section id="display"></section>
<script async defer type="module" src="./codewars-badge.js"></script>
<script async defer type="module" src="./codewars-sticker.js"></script>
<script async defer type="module" src="./script.js"></script>
</body>
</html>