-
Notifications
You must be signed in to change notification settings - Fork 0
/
Day10.html
58 lines (55 loc) · 1.62 KB
/
Day10.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Day 10</title>
<style>
body{
background-color: #414141;
color: white;
}
</style>
</head>
<body>
<div>
<p id="mypara">This is para</p>
<button>click me</button>
<img src="idk" alt="image">
</div>
<form action="submit">
<fieldset>
<legend>FORM</legend>
<label>Enter your name: </label>
<input type="text" class="nameInput" name="name">
<br>
<label>Enter your age: </label>
<input type="number" class="ageInput" name="age">
<br>
<label>Enter your sex:</label>
<label><input type="radio" name="sex" value="Male"> Male</label>
<label><input type="radio" name="sex" value="Female"> Female</label>
<label><input type="radio" name="sex" value="Other"> Other</label>
<br>
<button id="formsubmit" type="submit">SUBMIT</button>
</fieldset>
</form>
<div>
<h1>Drop down</h1>
<select name="subject" id="dropDown">
<option value="Maths">Maths</option>
<option value="Physics">Physics</option>
<option value="Chemistry">Chemistry</option>
</select>
</div>
<ul class="my-list">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<div id="parent">
<button id="addChild">Add Child</button>
</div>
<script src="Day10.js"></script>
</body>
</html>