-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (51 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Tilt+Prism&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./style.css" />
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<title>URL SHORTNER</title>
</head>
<body>
<div class="container">
<div class="main1"><h1>URL SHORTNER</h1></div>
<div>
<form action="/value" class="main2" id="form">
<h3>ENTER URL</h3>
<input
type="text"
value="https://example.com"
onfocus="if (this.value === 'https://example.com') this.value = ''"
id="inp"
/>
<button type="submit" id="btn">submit</button>
</form>
</div>
<div class="main3">
<div class="smain3">
<h3 id="link1">Shortened URL</h3>
<button class="copy-btn" data-link="link1">Copy</button>
</div>
</div>
</div>
<div class="copyright">
© 2025 <span class="company-name">Som Singh Lodhi</span>. Made with
love by
<a href="https://github.com/somsingh23"
><span class="made-by">Som</span></a
>
</div>
<script src="./main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script>
</body>
</html>