This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
2021-01-13 21:21:18 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2021-01-13 21:25:49 +01:00
|
|
|
|
|
|
|
<head>
|
2021-01-13 21:21:18 +01:00
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>A First App</title>
|
|
|
|
<link rel="stylesheet" href="styles.css" />
|
2021-01-13 21:25:49 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2021-01-13 21:21:18 +01:00
|
|
|
<div id="app">
|
2021-01-13 21:25:49 +01:00
|
|
|
<div>
|
|
|
|
<label for="goal">Goal</label>
|
2021-01-13 21:49:34 +01:00
|
|
|
<input type="text" id="goal" v-model="enteredValue" />
|
|
|
|
<button v-on:click="addGoal">Add Goal</button>
|
2021-01-13 21:25:49 +01:00
|
|
|
</div>
|
|
|
|
<ul>
|
2021-01-13 21:49:34 +01:00
|
|
|
<li v-for="goal in goals">{{ goal }}</li>
|
2021-01-13 21:25:49 +01:00
|
|
|
</ul>
|
2021-01-13 21:21:18 +01:00
|
|
|
</div>
|
2021-01-13 21:49:34 +01:00
|
|
|
<script src="https://unpkg.com/vue@next"></script>
|
2021-01-13 21:21:18 +01:00
|
|
|
<script src="app.js"></script>
|
2021-01-13 21:25:49 +01:00
|
|
|
</body>
|
|
|
|
|
2021-01-13 21:21:18 +01:00
|
|
|
</html>
|