-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (37 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo uploader & Preview</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<main class="main">
<form action="" class="form" method="post" enctype="multipart/form-data">
<div class="form__imgUploader">
<div class="form__wrapper">
<div class="form__image">
<img src="" alt="" class="form__img">
</div>
<div class="formUploader__content">
<div class="formUploader__icon"><i class="fas fa-cloud-upload-alt"></i></div>
<div class="formUploader__text">No photo Choosen, yet!</div>
</div>
<div class="formUploader__cancel"><i class="fas fa-times"></i></div>
<div class="formUploader__fileName"><p>file name</p></div>
</div>
<input type="file" class="imgUploader" accept=".jpg, .jpeg, .png" name="photo" hidden>
<button type="button" class="customBtn">Choose a photo</button>
<div class="form__buttons">
<button class="form__btn skipBtn" type="button"><a href="#">Cancel</a></button>
<button class="form__btn doneBtn" type="submit" disabled>Done</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>