-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (48 loc) · 1.51 KB
/
index.html
File metadata and controls
54 lines (48 loc) · 1.51 KB
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
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="style.css">
</head>
<body>
<p class="title">
<span>S</span>
<span>H</span>
<span>O</span>
<span>R</span>
<span>T</span>
<span>U</span>
<span>R</span>
<span>L</span>
</p>
<div class="block-1">
<form id="form" autocomplete="off">
<input type="text" id="input" value="" placeholder="Enter URL">
<p>Eg: https://jaydeepdave.netlify.app</p>
<button id="shorten">Shorten</button>
</form>
</div>
<div class="container">
<div class="result-hidden" id="responseField">
</div>
</div>
<script>
function myFunction() {
var copyText = document.getElementById("url");
copyText.select();
document.execCommand("copy");
alert("Copied the URL: " + copyText.value);
console.log(copyText.value);
}
</script>
<script src="main.js"></script>
<script src="helperFunction.js"></script>
</body>
<footer>
<p>
<a href="https://github.com/Dave3130" target="_blank"><i class="fab fa-github"></i></a>
Jaydeep Dave
<a href="https://www.linkedin.com/in/jaydeep-dave-65a96315a/" target="_blank"><i class="fab fa-linkedin-in"></i></a>
</p>
</footer>
</html>