-
Notifications
You must be signed in to change notification settings - Fork 11
/
p1.html
124 lines (75 loc) · 3.74 KB
/
p1.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!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">
<title>Document</title>
</head>
<body>
<p id="p"></p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OneBanc Assignment</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6" style="width: 600px; border: 2px solid;">
<div style="width: 580px; border-bottom: 2px solid;">
<table >
<td style="padding: 10px;">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</td>
<td style="padding: 10px; float: left;">
<div id="profileImage" style=" width: 25px; height: 25px; border-radius: 50%; background: #512DA8;font-size: 15px; color: #fff; text-align: center; line-height: 25px; "></div>
</td>
<td >
<marquee>
<span id="firstName">John</span>
<span id="lastName">Doe</span>
</marquee>
</td>
</table>
</div>
<section id="sender"><br>
<p style="text-align: center;">..........................................................date..........................................................
</p><br>
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6" style="width: 280px; border: 2px solid; ">
<p style="font-weight: bolder; "> ₹ Amount</p>
</div>
</div>
<br>
</section>
<section id="reciever"><br>
<p style="text-align: center;">..........................................................date..........................................................
</p><br>
<div class="col-md-6" style="width: 280px; border: 2px solid; margin-left: 10px ; ">
<p style="font-weight: bolder; "> ₹ Amount</p>
</div>
<br>
</section>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
var firstName = $('#firstName').text();
var intials = $('#firstName').text().charAt(0) ;
var profileImage = $('#profileImage').text(intials);
});
</script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="./one.js"></script>
</body>
</html>