This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgalerie.html
76 lines (66 loc) · 1.94 KB
/
galerie.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Galerie</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="stylesheet.css">
</style>
</head>
<body>
<header>
<h1>Name</h1>
<div class="container">
<nav class="navbar navbar-light">
<ul class="nav nav-pills">
<li class="nav-item"><a href="index.html">Startseite</a></li>
<li class="nav-item"><a href="pinnwand.html">Pinnwand</a></li>
<li class="nav-item"><a href="kurse.html">Kurse</a></li>
<li class="nav-item"><a href="galerie.html">Galerie</a></li>
<li class="nav-item"><a href="kontakt.html">Kontakt</a></li>
</ul>
</nav>
</div>
</header>
<main>
<article id="left">
<section id="1">
<img src="test">
</section>
<section id="n">
<figure>
<img width="250px" src="">
</figure>
<button id="like" onclick="plus()">Like</button>
<button id="dislike" onclick="minus()">Dislike</button>
<span id="likes">0</span>
</section>
</article>
<aside id="right">
<a>Übung:
</a>
<br/>
<a>Öffnungszeiten
</a>
</aside>
</main>
<footer>
Footer
</footer>
</body>
<script>
function plus(){
document.getElementById("likes").innerHTML++;
findmax();
}
function minus(){
if(document.getElementById("likes").innerHTML>0){
document.getElementById("likes").innerHTML--;
}
findmax();
}
function findmax(){
}
</script>
</html>