-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Background Removal Tool</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css">
</head>
<body>
<div id="upload-container">
<div class="container">
<header>
<h1>Remove Background from Image</h1>
<p>Upload an image to remove its background.</p>
</header>
<main>
<!-- Drag and Drop or Button Upload Area -->
<div id="upload-area" class="upload-area">
<div class="upload-zone">
<span>Drag and drop your image here, or</span>
<button id="upload-btn">Upload Image</button>
<input type="file" id="image-input" accept="image/*" hidden />
</div>
<p id="status"></p>
</div>
</main>
<footer id="footer">
<a href="https://github.com/Udhay707" target="_blank">
<i class="fab fa-github" style='font-size:30px'></i>
</a>
</footer>
</div>
</div>
<div id="image-area" class="image-holder" hidden>
<img id = 'output-image' alt = 'API image'>
<div class="download-options">
<button class="download-button" id="download-100x100">Download 100x100</button>
<button class="download-button" id="download-200x200">Download 200x200</button>
<button class="download-button" id="download-original">Download Original</button>
</div>
<div>
<button class="upload-another-image" id = "upload-another">Upload another Image</button>
</div>
</div>
<script src="main.js"></script>
</body>
</html>