-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJavaScript Practice_1.html
More file actions
32 lines (23 loc) · 1.04 KB
/
JavaScript Practice_1.html
File metadata and controls
32 lines (23 loc) · 1.04 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>JS Practice 1</title>
<link rel="stylesheet" href="JavaScript Practice 1.css">
</head>
<body>
<h1 id="MainTitle">Welcome to JavaScript Practice 1</h1>
<p id= "alfa"></p>
<p id= "beta"></p>
User Name: <input type="text" id="userinput" value="Test input" onchange="HandleUserInput()">
<br>
<br>
<button id= "gama" type="button" onclick="listCars()" class="OptionButton">All Cars</button>
<button id= "epsilon" type="button" onclick="listCars_Red()" class="OptionButton">Red Cars</button>
<button id= "delta" type="button" onclick="listCars_Black()" class="OptionButton">Black Cars</button>
<button id= "zeta" type="button" onclick="listCars_German()" class="OptionButton">German Cars</button>
<script src="JavaScript Practice 1.js"></script>
</body>
</html>