forked from IST-402-Group-1/project-two
/
index.html
75 lines (71 loc) · 2 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
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="Description" content="Put your description here.">
<base href="/">
<style>
html,
body {
margin: 0;
padding: 50px;
font-family: sans-serif;
}
.wrapper {
margin: 100px;
}
.menu {
display: flex;
justify-content: space-evenly;
}
.menu li {
display: inline-flex;
font-weight: bold;
padding: 40px;
}
learning-card.two::part(icon) {
--learning-card-height: 150px;
--learning-card-width: 150px;
background-color: blue;
}
learning-card[type="science"]::part(icon) {
width: 200px;
height: 200px;
}
</style>
<title>Project two: learning card</title>
</head>
<body>
<ul class="menu">
<li><a href="#">Card demo</a></li>
<li><a href="/hax.html">HAX, card demo</a></li>
</ul>
<div class="wrapper">
<learning-card class="one" type="idea">
<ul>
<li>Describe the subatomic particles that make up an atom.</li>
<li>Use the periodic table to determine the numbers of protons and electrons in a neutral(uncharged) atom.</li>
<li>Describe the subatomic particles that make up an atom.</li>
<li>Use the periodic table to determine the numbers of protons and electrons in a neutral(uncharged) atom.</li>
</ul>
</learning-card>
<br>
<br>
<learning-card class="two" type="science">
<ul>
<li>Describe the subatomic particles that make up an atom.</li>
<li>Use the periodic table to determine the numbersof protons and electrons in a neutral(uncharged) atom.</li>
</ul>
</learning-card>
<br>
<br>
<learning-card type="question">
<p>There is about 0.4 pound or 200 grams of salt (NaCL) in the average adult human body.</p>
</learning-card>
</div>
<script type="module">
import "./src/app.js";
</script>
</body>
</html>