-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
44 lines (44 loc) · 1008 Bytes
/
form.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
<!DOCTYPE html>
<html>
<title>Wejapa To-Dos</title>
<style>
header {
margin-top: 50px;
background: purple;
padding: 40px;
color: white;
font-family: 'Segoe UI', 'Roboto';
text-align: center;
font-size: 30px;
}
input[type=text], input[type=password] {
margin-bottom: 20px;
width: 300px;
padding: 10px;
display: block;}
input[type=submit] {
width: 100px;
padding: 10px;
display: inline-block;
}
div { display:flex;align-items: center;justify-content: center;
background-color: rgba(239,236,249,0.5);
}
</style>
<body>
<header>
Wejapa To-Dos</header>
<div>
<form>
Username:<input type="text" placeholder="Input your username" required>
Password:<input type="password" placeholder="Input your password" min="6" required>
<input type="submit" value="submit">
<input type="submit" value="delete" style="float:right;" onclick="myFunction()">
</form>
<script>
function myFunction() {
var deleteConfirm = window.confirm("Are you sure you want to delete the data?");}
</script>
</div>
</body>
</html>