-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (37 loc) · 867 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Pet Breed Quiz</title>
<style>
/* inlined style, so while loading there's no white background */
body {
background-color: #ffe0b5;
}
[v-cloak] {
display: none;
}
</style>
</head>
<body>
<div id="app">
<header>
<h1 v-cloak> {{ title }} </h1>
</header>
<main>
<menu-component
v-on:quiz-requested="startQuiz($event)"
:state='state'
:choosen-category='choosenCategory'>
</menu-component>
<quiz-component
ref='quizComponent'
:app-state='state'
v-on:quiz-finished='finishQuiz'
v-on:quiz-aborted='finishQuiz'>
</quiz-component>
</main>
</div>
<script src="dist/build.js"></script>
</body>
</html>