-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (81 loc) · 3.16 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<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, shrink-to-fit=no">
<link rel="stylesheet" href="style.css">
<title>URL shortening Challenge</title>
<script src="script.js" defer></script>
</head>
<body>
<div id="loader" class="my-auto">
<div class="loader">
LOADING
</div>
</div>
<section id="header">
<div class="container">
<div class="row h-100 relative">
<div class="col-12 col-lg-6 my-md-auto">
<h1 class="title">Just<br>shorter links</h1>
<p class="sub-title">get a good looking and desirable link length.</p>
<button class="button big smooth-scroll wow animate__animated animate__tada">Get Started</button>
</div>
</div>
</div>
</section>
<section id="service">
<div class="container relative">
<div class="row">
<div class="shorten">
<form action="#" id="form-shorten" onsubmit="shorten()" class="mb-0">
<label for="theurl" class="d-none">URL:</label>
<input type="text" id="theurl" name="theurl" placeholder="Shorten a link here...">
<p id="err-msg"></p>
<button id="shorten" class="button big">Shorten It!</button>
</form>
</div>
</div>
<div class="row ripple">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="row">
<div class="col-12">
<div id="item">
</div>
</div>
</div>
</div>
<div class="container relative blocks">
</div>
</section>
<section id="boost" style="background-image: url('assets/img/bg-boost-desktop.svg');">
<div class="container">
<div class="row h-100">
<div class="col-12 my-auto">
<h2 class="title wow animate__animated animate__slideInUp">Boost your links today</h2>
<button class="button big smooth-scroll wow animate__animated animate__slideInUp">Get Started</button>
</div>
</div>
</div>
</section>
<footer>
<div class="modal fade" id="popup" tabindex="-1" role="dialog" aria-labelledby="popupLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body px-5 py-4">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<p class="mb-3 text-center">This is a one page website with a URL shortening from Frontend Mentor challenge.</p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>