-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (57 loc) · 1.58 KB
/
index.html
File metadata and controls
60 lines (57 loc) · 1.58 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
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="styles.css" />
<title>remove_bg</title>
</head>
<body>
<div class="container">
<h1>Remove Background From Your Image</h1>
<h4>Upload your image here</h4>
<form>
<div class="img">
<img id="uploadedImage" src="./images/remove_bg.png" alt="image" />
</div>
<div class="btn">
<input
type="file"
id="fileInput"
accept=".jpg, .jpeg, .png"
style="display: none"
/>
<label id="file" for="fileInput" class="custom-file-input"
>Choose File</label
>
<button
type="button"
id="removeBgButton"
onclick="submitHandler()"
style="background-color: #673ab7"
>
<span class="btn__text">Upload</span>
</button>
<div class="btn-container">
<button
onclick="reset()"
id="reloadBtn"
style="background-color: #ff5252"
>
Reset
</button>
<button
style="background-color: #009579"
onclick="downloadFile()"
id="downloadBtn"
>
Download
</button>
</div>
</div>
</form>
</div>
</body>
<script src="script.js"></script>
</html>