-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-147552064-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-147552064-1');
</script>
<title>Learn Emojis</title>
</head>
<body>
<div id="app">
<h3>Learn Emojis</h3>
<h4>Deployed by Jordan from Team 1</h4>
<span v-for="problem in problems">
<span v-if="problem===currentProblem">
<b> {{problem}} </b>
</span>
<span v-else-if="isComplete(problem)">
<button @click="currentProblem=problem"
style="background-color:green">
{{problem}}
</button>
</span>
<span v-else>
<button @click="currentProblem=problem">
{{problem}}
</button>
</span>
</span>
<br />
<h4>Directions:</h4>
{{directions[currentProblem]}}
<br/>
<input v-model="givens[currentProblem]"> <br/>
<span v-if="isComplete(currentProblem)"
style="color:green">
Correct!
</span>
</div>
<script src="https://unpkg.com/vue"></script>
<script src="./main.js"></script>
</body>
</html>