-
Notifications
You must be signed in to change notification settings - Fork 0
/
v-bind.php
68 lines (59 loc) · 2.11 KB
/
v-bind.php
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<head>
<meta charset="utf-8">
<title>Shopping List</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
</head>
<body >
<h1 id="title">Bushra</h1>
<br /> <br />
<ul>
<li>
<a href="data-binding.php"> Data Binding </a>
</li>
<li>
<a href="mounted.php"> Mounted </a>
</li>
<li>
<a href="events.php"> Events </a>
</li>
<li>
<a href="v-for.php"> V-For </a>
</li>
</ul>
<br />
<div class="card-body" id="demo-1">
<fieldset>
<div class="profile text-center">
<img v-bind:src="profile.avatar" width="300" />
<h3>{{ profile.name }}</h3>
<p>{{ profile.bio }}</p>
</div>
</fieldset>
</div>
<div class="card-body" id="demo-2">
<fieldset>
<div class="profile text-center">
<img :src="profile.avatar" width="300" />
<h3>{{ profile.name }}</h3>
<p>{{ profile.bio }}</p>
</div>
</fieldset>
</div>
<div class="card-body" id="demo-3">
<fieldset>
<div class="profile text-center">
<img :src="profile.avatar" width="300" />
<h3>{{ profile.name }}</h3>
<p>{{ profile.bio }}</p>
<button @click="changeAvatar">Change Avatar</button>
</div>
</fieldset>
</div>
<script type="text/javascript" src="vue.min.js"></script>
<script "text/javascript" src="v-bind.js"></script>
</body>
</html>