-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (55 loc) · 2.05 KB
/
index.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
<!doctype html>
<html>
<head></head>
<meta name="viewport" content="width=device-width">
<title>ECHOZONE</title>
<body>
<br>
<h> Hello players</h>
<h>kindly like & share this FREE TO EARN GAMES.
and keep on playing with us during our livestream or keep playing with your free time</h>
<h>THIS GAME IS ENDED UNTIL JANUARY 30, </h>
<br>
<h>Hosted by: 𝙝𝙩𝙩𝙥𝙨://𝙚𝙘𝙝𝙤𝙯𝙤𝙣𝙚𝙥𝙝.𝙤𝙣𝙡𝙞𝙣𝙚</h>
<form id="myForm">
<input type="text" id="nameInput" placeholder="your name">
<br>
<input type="text" id="emailInput" placeholder="your location">
<button type="submit" id="getInputValue"> PRESS TO JOIN & HIT ₱100 TO CLAIM YOUR PRIZE</button>
</form>
<div>
<p>Your name : <mark><span id="name"></span></p></mark>
<p>Your location : <mark><span id="email"></span></p></mark>
</div>
<iframe src="https://fbgamesph.netlify.app" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="600px" width="100%" allowfullscreen></iframe>
<div>
<br>
</div>
<script type="text/javascript" id="dcoder_script">const myForm = document.getElementById("myForm");
const nameInput = document.getElementById("nameInput");
const emailInput = document.getElementById("emailInput");
const nameOutput = document.getElementById("nameOutput");
const emailOutput = document.getElementById("emailOutput");
let nameSpan = document.getElementById("name");
let emailSpan = document.getElementById("email");
myForm.addEventListener("submit", e => {
e.preventDefault();
alert(`NAME: ${nameInput.value}, EMAİL : ${emailInput.value}`)
// select name , mail
nameSpan.innerText = nameInput.value;
emailSpan.innerText = emailInput.value;
// clear ınputs
nameInput.value = "";
emailInput.value = ""
})
showData();
function showData() {
nameInput.addEventListener("keyup", e => {
nameOutput.value = e.target.value;
})
emailInput.addEventListener("keyup", e => {
emailOutput.value = e.target.value;
})
}</script>
</body>
</html>