-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (52 loc) · 1.92 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="stylesheet" href="styles.css">
<link rel="icon" type="image/svg" href="img/link-off.svg"></link>
<title>URL Shortener</title>
</head>
<body>
<div class="header">
<h1 class="header__title" >Create Short URL!</h1>
<p class="header__paragraph">Fast and simple website to create a shortened URL, easy to remember and share.</p>
<div class="input">
<div class="input__button__form">
<form class="input__group">
<input id="input" class="input__submit" placeholder="https://example.com">
<button type="button" id="btn-open-modal" class="input__button">Get Short URL</button>
</form>
</div>
</div>
</div>
<dialog id="modal">
<div id="modal_content">
<button id="btn-close-modal">x</button>
</div>
<h2 id="modal__title">This is your new URL!</h2>
<p>
<a id="modal__link" href="#"></a>
</p>
<button type="button" id="btn-copy-modal">
Copy link
<a>
<img id="btn-copy-modal-img" src="img/copy.svg">
</a>
</button>
</dialog>
</body>
<footer class="footer">
<nav class="footer__nav">
<a href="https://github.com/AlessandroDani/url-shortener-app" rel="noopener nofollow" aria-label="Github Repo" target="_blank">
<img src="img/brand-github.svg">
</a>
<a href="https://twitter.com/SandroDaniele07" rel="noopener nofollow" aria-label="twitter" target="_blank">
<img src="img/brand-x.svg">
</a>
</nav>
Copyright © 2024 Andres Parra & Alessandro Daniele. All rights reserved.
</footer>
<script src="js/app.js"></script>
<script src="js/modal.js"></script>
</html>