-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (37 loc) · 1.91 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
<!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 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://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<title>Secret Msg</title>
</head>
<body class="container">
<h3 class=" bg-secondary text-white p-2 mb-0">Secret Message Sharing</h3>
<div class="msg_div m-sm-5 p-3 mt-0 border border-secondary rounded">
<div style="display:block;" id="input_div">
<h5 class="border-bottom ">Enter a secret message</h5>
<input type="text" class="form form-control mt-4" id="input_msg" value="" placeholder="Enter...">
<button class="btn btn-success mt-4 mb-3" id="button">Create</button>
</div>
<div style="display:none;" id="output_div">
<h6 class="border-bottom ">Share this link to friend
<button style="float:right" class="btn btn-dark p-1 pt-0 " id="copy">copy</button>
</h6>
<input id="link-output" class="form form-control border-0 border-bottom border-primary"
style="font-size:12px;" readonly />
</div>
<div id="output_msg" style="display: none;">
<h5 class="border-bottom ">Secret message</h5>
<div id="msg" class="mb-2 "> </div>
<a href="./index.html" class="text-primary text-decoration-none "> Create your own secret message </a>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>