Skip to content

Commit df25e65

Browse files
html coding
create
1 parent 3c939d4 commit df25e65

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

Virtual Debit Card/index.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!-- Created by Vidit Varshney-->
2+
3+
<!-- Made with pure html , css and js -->
4+
5+
<!-- If you find the code 👌 , please 👍 it -->
6+
7+
<!-- Will be ☺️ to hear any feedback from your side , i really wanna know your modifications or your ideas -->
8+
9+
<!-- Thanks for your precious time -->
10+
11+
<!-- v-1.1 Fixed some bugs -->
12+
13+
<!DOCTYPE html>
14+
15+
<html>
16+
17+
<head>
18+
19+
<title> 💳 Virtual Debit Card 💳 </title>
20+
21+
</head>
22+
23+
<body>
24+
25+
<marquee>🎊🎊 Congratulations!! You are a platinum card holder of ☺️SB☺️ 🎊🎊</marquee>
26+
<div class="a">
27+
28+
<h3>Smile Bank Debit Card</h3>
29+
30+
<div id="space">
31+
<span id="name">Vidit Varshney</span>
32+
<label id="lbl1">CVV:</label>
33+
<span id="cvv1">1</span>
34+
<span id="cvv2">2</span>
35+
<span id="cvv3">3</span>
36+
</div>
37+
38+
<br /><br />
39+
40+
<center>
41+
<span class="acc" id="acc1">8888</span>
42+
<span class="acc" id="acc2">8888</span>
43+
<span class="acc" id="acc3">8888</span>
44+
<span class="acc" id="acc4">8888</span>
45+
</center>
46+
47+
<span id="s1">☺️</span>
48+
<span id="s2">☺️</span>
49+
<center id="membership">Platinum Membership</center>
50+
</div>
51+
52+
<marquee id="safe">Never share your card details with anyone. Be safe!! Be happy!! </marquee>
53+
<script>
54+
55+
var user = prompt("Please Enter Your Full Name","Vidit Varshney");
56+
57+
document.getElementById("name").innerHTML = user;
58+
59+
document.getElementById("cvv1").innerHTML = Math.floor((Math.random() * 10));
60+
61+
document.getElementById("cvv2").innerHTML = Math.floor((Math.random() * 10));
62+
63+
document.getElementById("cvv3").innerHTML = Math.floor((Math.random() * 10));
64+
65+
document.getElementById("acc1").innerHTML = Math.floor((Math.random() + 8) * 1000) + " ";
66+
67+
document.getElementById("acc2").innerHTML = Math.floor((Math.random() + 7) * 1000) + " ";
68+
69+
document.getElementById("acc3").innerHTML = Math.floor((Math.random() + 3) * 1000) + " ";
70+
71+
document.getElementById("acc4").innerHTML = Math.floor((Math.random() + 2) * 1000);
72+
73+
74+
</script>
75+
</body>
76+
</html>

0 commit comments

Comments
 (0)