-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (77 loc) · 3.41 KB
/
index.html
File metadata and controls
89 lines (77 loc) · 3.41 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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SpecSeeker</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7Rxnatzjcddwdwfwfgwrefwf" crossorigin="anonymous">
<!-- Font Awesome CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Custom CSS -->
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<!-- Header -->
<div id="header-container"></div>
<!-- Form -->
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 mt-4 form-box-style">
<h3 class="text-center">Fill in your computer specs:</h3>
<form id="form">
<div class="mb-3">
<label for="budget" class="form-label">Budget "$":</label>
<input type="text" class="form-control" id="budget">
</div>
<div class="mb-3">
<label for="usage" class="form-label">Usage:</label>
<select class="form-select" id="usage">
<option value="Gaming">Gaming</option>
<option value="work">Work</option>
</select>
</div>
<div class="mb-3">
<label for="hardware" class="form-label">Form of Hardware:</label>
<select class="form-select" id="hardware">
<option value="laptop">Laptop</option>
<option value="desktop">Desktop</option>
</select>
</div>
<div id="buildTypeContainer" class="mb-3">
<label for="buildType" class="form-label">Build Type:</label>
<select class="form-select" id="buildType">
<option value="prebuilt pc">Prebuilt PC</option>
<option value="custom pc">Custom PC</option>
</select>
</div>
<div class="mb-3">
<label for="others" class="form-label">Other requirements:</label>
<input type="text" class="form-control" id="others">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
<!-- Computer Specs -->
<div class="row justify-content-center">
<div class="col-lg-8 mt-4 form-box-style">
<h3 class="text-center">Computer Specs:</h3>
<br>
<div id="response" class="d-flex justify-content-center response-box-form">
<div id="spinner" class="spinner-border text-primary" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
<!-- Response from chatGPT -->
</div>
</div>
</div>
</div>
<!-- Footer -->
<div id="footer-container"></div>
<!-- JavaScript -->
<script src="js/header.js"></script>
<script src="js/footer.js"></script>
<script src="js/script.js"></script>
<script src="js/choosebuildtype.js"></script>
</body>
</html>