-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (40 loc) · 1.04 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
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Temperatur Umrechner</title>
<link rel="stylesheet" href="styles.css" />
<script src="https://unpkg.com/vue@3/dist/vue.global.js" defer></script>
<script src="script.js" defer></script>
</head>
<header>
<h1>Temperatur Umrechner</h1>
</header>
<body>
<div id="events">
<section class="container">
<p>
<input type="number" v-model="celsiusInput">
°C
</p>
<button
v-on:click="convertToFahrenheit">
Umrechnen
</button>
<p id="resultParagraph"></p>
</section>
<section class="container">
<p>
<input type="number" v-model="fahrenheitInput">
°F
</p>
<button
v-on:click="convertToCelsius">
Umrechnen
</button>
<p id="resultParagraphB"></p>
</section>
</div>
</body>
</html>