-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuebung11
More file actions
34 lines (23 loc) · 774 Bytes
/
uebung11
File metadata and controls
34 lines (23 loc) · 774 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Kapitel 3</title>
<meta charset="utf-8">
</head>
<body>
<p id="ausgabe" >tralala </p>
<div id="ausgabe2"> Original Text </div>
<script>
//"use strict";
let ausgabe = 'Kapitel 3';
lieblingsEssen= window.prompt('Was ist dein liblingsEssen? \n Fisch in tomatensoße?');
lieblingsGetraenk=window.prompt('und Lieblingsgetränk?', 'Bier?');
//const NULL=0;
document.getElementById('ausgabe').innerHTML = `${lieblingsEssen}? Ausgezeichnet! \n
Das ist genau das, was ich heute Abend kochen wollte \n
und ${lieblingsGetraenk} haben wir sowieso immer reichlich da!`;
ausgabe=2;
console.log('Hello world');
</script>
</body>
</html>