45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<form>
|
|
<select name="selection" id="selection">
|
|
<option value="1">
|
|
1
|
|
</option>
|
|
<option value="2">
|
|
2
|
|
</option>
|
|
<option value="3">
|
|
3
|
|
</option>
|
|
<option value="4">
|
|
4
|
|
</option>
|
|
<option value="5">
|
|
5
|
|
</option>
|
|
</select>
|
|
|
|
|
|
</form>
|
|
<button id="button">Lekér</button>
|
|
<form>
|
|
Név:
|
|
<input type="text" id="nev"> <br>
|
|
Beosztás:
|
|
<input type="text" id="beosztas"> <br>
|
|
Kor:
|
|
<input type="number" id="kor" min="1" > <br>
|
|
Fizetés:
|
|
<input type="number" id="fizetes">
|
|
</form>
|
|
<button id="hozzaAdGomb">Elem hozzáadása</button>
|
|
<div id="eredmeny"></div>
|
|
<script src="feladat2.js" defer></script>
|
|
</body>
|
|
</html> |