-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (25 loc) · 1023 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>First Vus.js Project</title>
</head>
<body>
<div id="app">
<img :class="gender" v-bind:src="picture" :alt="`${firstName} ${lastName}`">
<h1>{{firstName}} {{ lastName }}</h1>
<h3>Email: {{email}}</h3>
<button v-on:click="getUser()" :class="gender">Get Random User </button>
<p class="joke-setup">{{setup}}</p>
<p class="joke-punchline">{{punchline}}</p>
<button v-on:click="getJoke()" class="joke-button">Get Random Joke</button>
</div>
<script src="https://unpkg.com/vue@next"></script>
<script src="app.js"></script>
</body>
</html>