-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (67 loc) · 2.37 KB
/
index.html
File metadata and controls
73 lines (67 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Assignment</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Assignment 1 -->
<div class="assign-1">
<h2>Assignment 1</h2>
<div class="font-family">
<label for="family">Font Family: </label>
<select name="font-family" id="family">
<option value='"Cairo", sans-serif'>Cairo</option>
<option value='"Open Sans", sans-serif'>Open Sans</option>
<option value='"Roboto", sans-serif'>Roboto</option>
</select>
</div>
<div class="back-color">
<label for="color">Background Color: </label>
<select name="background-color" id="color">
<option value="#0073ff">Blue</option>
<option value="#e91e63">Pink</option>
<option value="#4caf50">Green</option>
<option value="#f44336">Orange</option>
<option value="#795548">Brown</option>
<option value="#000">Black</option>
</select>
</div>
<div class="font-size">
<label for="fontSize">Font Size: </label>
</div>
<div id="showTest">Test</div>
</div>
<br />
<hr />
<br />
<!-- Assignment 2 -->
<div class="assign-2">
<h2>Assignment 2</h2>
<form action="">
<input type="text" name="name" id="" placeholder="Your Name" />
<input type="email" name="mail" id="" placeholder="Your Email" />
<input type="number" name="number" id="" placeholder="Your Number" />
<select name="age" id="age">
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
</select>
</form>
</div>
<br />
<hr />
<br />
<script src="main.js"></script>
</body>
</html>