-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (91 loc) · 2.32 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
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
href="https://fonts.googleapis.com/css?family=Sarabun:100,200,300,400,500,600,700,800&display=swap"
rel="stylesheet"
/>
<style>
body {
background-color: rgb(26, 30, 34);
font-family: "Sarabun", sans-serif;
margin: 0px;
}
.main {
align-items: center;
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
}
.welcome-text {
color: rgb(0, 112, 243);
margin: 0px;
}
label {
color: rgb(246, 248, 250);
font-size: 2.5rem;
font-family: Inter, system, -apple-system, BlinkMacSystemFont, Roboto,
"Segoe UI", Arial, sans-serif;
margin: 2rem;
}
form {
text-align: center;
width: 100%;
}
input {
background-color: rgb(38, 48, 60);
border: 0px;
color: rgb(121, 184, 255);
border-radius: 0.25rem;
font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono",
"Lucida Console", Monaco, monospace;
font-size: 2rem;
font-weight: 400;
height: 30px;
max-width: 500px;
outline: none;
padding: 20px;
text-align: center;
width: 100%;
}
@media (max-width: 600px) {
.welcome-text {
color: rgb(0, 112, 243);
font-size: 2rem;
text-align: center;
}
label {
font-size: 2rem;
margin: 1.5rem;
}
input {
font-size: 1.4rem;
height: 15px;
width: 300px;
}
}
</style>
<title>Amascrap</title>
</head>
<body>
<div class="main">
<h1 class="welcome-text">Amascrap</h1>
<label>Enter url of the product</label>
<form action="/run">
<input type="text" name="url" id="url" />
</form>
</div>
<script>
function submit() {
// Selecting the input element and get its value
var url = document.getElementById("url").value;
// Displaying the value
alert(inputVal);
}
</script>
</body>
</html>