forked from jenofdoom/academy-responsive-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (32 loc) · 1.22 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Movie Vote Webapp</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Overpass:400,400i,700,700i" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<h1>Movies</h1>
<div class="content">
<p>Here are the movies you can vote on:</p>
<div class="movie-container">
<ul v-cloak>
<li v-for="movie in movies">
<h3>{{ movie.name }}</h3>
<em>{{ movie.length }} minutes</em>
<button v-on:click="sendVote(movie.id)">Vote</button>
<span class="votes"><br>{{ movie.votes }}</span>
</li>
</ul>
</div>
<footer class="content-footer">Jay</footer>
</div>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<script src="js/main.js"></script>
</body>
</html>