Imgur-Clone/frontend/index.html

34 lines
998 B
HTML
Raw Normal View History

2024-04-13 03:19:40 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Drag and Drop Image Upload</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<!-- Navigation Bar -->
<nav>
<div class="nav-container">
<a href="index.html" class="nav-logo">Image Upload</a>
<ul class="nav-menu">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="gallery/gallery.html">Gallery</a></li>
</ul>
</div>
</nav>
<!-- Home Page (Upload) -->
<div id="drag-drop-container">
<h2>Drag and Drop Images</h2>
<p>Drop your PNG or JPEG files here <br><br>or click to select a file</p>
<div id="file-info"></div>
<input type="file" id="file-input" name="file" accept="image/png, image/jpeg" hidden>
</div>
<br>
2024-04-13 06:32:29 +00:00
<br>
<button id="upload-button" type="button" disabled> Upload</button>
<script src="js/script.js"></script>
</body>
2024-04-13 03:19:40 +00:00
</html>