-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddcar.html
62 lines (52 loc) · 2.36 KB
/
addcar.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Seller Page</title>
<link rel="stylesheet" href="styles.css">
<script src="scripts.js"></script>
</head>
<body>
<header>
<!-- <img src="logo.png" alt="Company Logo"> -->
<img src="logo.png" alt="Company Logo">
<h1>Add Car</h1>
</header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="registration.html"> Registration</a></li>
<li><a href="seller.html"> Seller page </a></li>
<li><a href="search.html">Search Page</a></li>
<li><a href="about.html">About Us</a></li>
</ul>
</nav>
<main>
<!-- Add Car form -->
<section>
<h3>Add Car</h3>
<form id="addcarForm" action="add_car.php" method="post" onsubmit="return validateAddCarForm()">
<label for="make">Make:</label>
<input type="text" id="make" name="make" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<label for="model">Model:</label>
<input type="text" id="model" name="model" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<label for="year">Year:</label>
<input type="number" id="year" name="year" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<label for="mileage">Mileage:</label>
<input type="number" id="mileage" name="mileage" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<label for="location">Location:</label>
<input type="text" id="location" name="location" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<label for="price">Price:</label>
<input type="number" id="price" name="price" onfocus="highlightInput(this)" onblur="resetInput(this)" required>
<!-- Submit button -->
<input type="submit" value="Add Car" onmouseover="highlightButton(this)" onmouseout="resetButton(this)">
</form>
</section>
</main>
<footer>
<p>© 2024 Online Car Sale</p>
</footer>
</body>
</html>