34 lines
771 B
HTML
34 lines
771 B
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>
|
|
<div id="eredmeny"></div>
|
|
<script src="feladat1.js" defer></script>
|
|
</body>
|
|
</html> |