Imgur-Clone/frontend/index.html
2024-04-12 23:32:29 -07:00

34 lines
No EOL
998 B
HTML

<!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>
<br>
<button id="upload-button" type="button" disabled> Upload</button>
<script src="js/script.js"></script>
</body>
</html>