-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgym_page.html
66 lines (56 loc) · 1.89 KB
/
gym_page.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
63
64
65
66
<!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">
<link rel="icon" href="https://thumbs.dreamstime.com/b/amazon-logo-white-background-montreal-canada-july-printed-paper-98221126.jpg"
type="image/x-icon">
<link rel="stylesheet" href="/2022_javascript/gym_page.css">
<title>GYM GYANI</title>
</head>
<body>
<div id="nav-bar">
<img id="img" src="/2022_javascript/logoimg.png" alt="img">
<a id="login" href="#t">LOG IN!</a>
<a id="profile" href="#">PROFILE</a>
<a id="items" href="#">ITMES</a>
<a id="contact" href="#">CONTACTS</a>
<button id="btn">Exclusive offers!</button>
</div>
<form id="t">
<table id="tab">
<td id="log"> LOGIN HERE</td>
<tr>
<td>NAME:<input id="name" type="text"></td>
</tr>
<tr>
<td>ROLL NO:<input id="roll" type="number"></td>
</tr>
<tr>
<td>AGE:<input id="age" type="number"></td>
</tr>
<tr>
<td>FATHERS NAME:<input id="fname" type="text"></td>
</tr>
</table>
</form>
<div id="div"> <button id="lo" onclick="move()">login!</button></div>
<img src="" >
</body>
<script type="text/javascript">
function move(){
var a=document.getElementById('name').value;
var b=document.getElementById('roll').value;
var c=document.getElementById('age').value;
var d=document.getElementById('fname').value;
document.write("hi\n"+a+"\n");
document.write("<br>")
document.write("your roll:\n"+b+"\n");
document.write("<br>")
document.write("age:\n"+c+"\n");
document.write("<br>")
document.write("father name:\n"+d+"\n");
}
</script>
</html>