This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (78 loc) · 2.33 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<html>
<head>
<title>Carevis</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400&display=swap" rel="stylesheet">
</head>
<body style='overflow-x:hidden;'>
<div class="content">
<div id="headBack"></div>
<div class="head">
<img src="logo.png" class="logo">
<img id="menuButton" src="./menu.png">
</div>
<script>
const bigMenu = document.getElementById("bigMenu");
const headBack = document.getElementById("headBack");
const menuButton = document.getElementById("menuButton");
let isVisible = false;
document.getElementById("menuButton").onclick = function() {
if(isVisible){
headBack.style.height = "70px";
bigMenu.style.opacity = "0";
headBack.style.top = "40px";
headBack.style.margin-left = "40px";
headBack.style.border-radius = "50px";
bigMenu.style.visibility = "hidden"
menuButton.src='./menu.png';
}
if(!isVisible){
headBack.style.height = "110vh";
headBack.style.top = "0px";
headBack.style.margin-left = "0px";
headBack.style.border-radius = "0px";
bigMenu.style.opacity = "1";
bigMenu.style.visibility = "visible"
menuButton.src='./close.png';
}
isVisible = !isVisible
}
</script>
<img src="banner.jpg" class="mainBanner">
<div class="progress">
<p>Your current progress:</p>
<div class="progressBack"></div>
<div class="progressbar"></div>
</div>
<div class="tasks">
<p id="date">02 december</p>
<h1>Tasks for today:</h1>
<div class="task">
<div class="check"></div>
<p>Arrange an evening of watching a movie together</p>
</div>
<div class="task">
<div class="check"></div>
<p>Cook dinner together</p>
</div>
<div class="task">
<div class="check"></div>
<p>Arrange a shopping day for girls</p>
</div>
</div>
<div class="rate">
<p>Rate your partner</p>
<div class="rating">
<img src="heartnocolor.png" class="heart">
<img src="heartnocolor.png" class="heart">
<img src="heartnocolor.png" class="heart">
<img src="heartnocolor.png" class="heart">
<img src="heartnocolor.png" class="heart">
</div>
<div class="confirmButton"><p>Confirm</p></div>
</div>
</div>
</body>
</html>