-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
23 lines (20 loc) · 709 Bytes
/
form.html
File metadata and controls
23 lines (20 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<!-- <button id="our-btn">Click me</button> -->
<!-- <input type="text" id="inp-box" />
<p id="pswd-tips" class="paragraph">Minimum 8 character required</p> -->
<!-- <div id="id" class="paragraph">Hello World</div> -->
<form id="our-form" action="#">
<input id="name" type="text" placeholder="Name" />
<input id="roll" type="number" placeholder="roll" />
<p id="error-msg">Please enter a valid roll number</p>
<input id="age" type="number" placeholder="Age" />
<button type="submit">Submit</button>
</form>
<script src="./day5.js"></script>
</body>
</html>