-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 1.53 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Practice Website</title>
</head>
<body>
<div style="display:flex; justify-content: center; align-items: center;"><h1 style="text-align: center; border-bottom: 2px solid; display: inline; font-weight: bold;">Car Lists Record</h1></div>
<div style="display: flex; justify-content: center; align-items: center;">
<div id="inputcontainer">
<label for="drivername">Enter your name: </label>
<input type="text" id="drivername"><br>
<label for="make">Enter car's make: </label>
<input type="text" id="make"><br>
<label for="model">Enter car's model: </label>
<input type="text" id="model"><br>
<label for="year">Enter car's manufacturing year: </label>
<input type="number" id="year"><br>
<label for="color">Enter the color of the car: </label>
<input type="text" id="color"><br>
<button id="submit" onclick="create()">Submit</button>
</div>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<div id="carlists" style="display: none;">
<h1 id="results"></h1>
<h1 id="whodrives"></h1>
<button id="previous" onclick="previous()">Previous</button>
<button id="next" onclick="next()">Next</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html