-
Notifications
You must be signed in to change notification settings - Fork 0
/
oppgave2.html
40 lines (38 loc) · 1.79 KB
/
oppgave2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="stilark.css">
</head>
<body>
<h2>Oppgave 2</h2>
<label for="frp-bar">FrP: </label>
<input class="innprosent bb" type="number" name="frp-bar" value="0" min="0" max="100"><br>
<label for="hoyre-bar">Høyre: </label>
<input class="innprosent bb" type="number" name="hoyre-bar" value="0" min="0" max="100"><br>
<label for="venstre-bar">Venstre: </label>
<input class="innprosent bb" type="number" name="venstre-bar" value="0" min="0" max="100"><br>
<label for="krf-bar">KrF: </label>
<input class="innprosent bb" type="number" name="krf-bar" value="0" min="0" max="100"><br>
<label for="mdg-bar">MDG: </label>
<input class="innprosent" type="number" name="mdg-bar" value="0" min="0" max="100"><br>
<label for="sp-bar">SP: </label>
<input class="innprosent rg" type="number" name="sp-bar" value="0" min="0" max="100"><br>
<label for="ap-bar">AP: </label>
<input class="innprosent rg" type="number" name="ap-bar" value="0" min="0" max="100"><br>
<label for="sv-bar">SV: </label>
<input class="innprosent rg" type="number" name="sv-bar" value="0" min="0" max="100"><br>
<label for="rodt-bar">Rødt: </label>
<input class="innprosent" type="number" name="rodt-bar" value="0" min="0" max="100"><br>
<label for="pp-bar">PP: </label>
<input class="innprosent" type="number" name="pp-bar" value="0" min="0" max="100"><br>
<input id="beregnKnapp" type="button" value="Beregn blokker">
<div class="resultatdiv">res</div>
<div id="grafikk">
<div class="soyle_bb">bb</div>
<div class="soyle_rg">rg</div>
</div>
<script src="script2.js"></script>
</body>
</html>