-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
153 lines (139 loc) · 5.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width-device=width,initial-scale=1.0">
<meta charset="utf-8">
<link rel="icon" href="Images/eat-healthy-icon.png">
<link rel="stylesheet" href="css/style.css">
<title>Home</title>
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<header>
<a href="#" class="logo">Eat <span class="fas fa-utensils"></span> Healthy</a>
<div id="menu"><i class="fas fa-bars"></i>
</div>
<nav class="navbar">
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#protect">Protection</a></li>
<li><a href="protect.html">Food</a></li>
<li><a href="#symtoms">Symptoms</a></li>
<li><a href="bot.html">Bot</a></li>
<li><a href="contact.html">Contact</a></li>
<img src="Images/moon.svg" id="icon">
</ul>
</nav>
</header>
<!---------------------------------------------------->
<section class="home" id="home">
<div class="content">
<h2>Eat Healthy</h2>
<p>Eating a healthy diet is very important during the COVID-19 pandemic. What we eat and drink can affect our body’s ability to prevent, fight and recover from infections.</p>
</div>
</div>
<div class="image">
<img id="theme-toggle-img" src="Images/background.svg" alt="">
</div>
</section>
<!------------------------------------------------------>
<section class="protect" id="protect">
<h1 class="heading">Take steps to <span> Protect </span> yourself and your dear ones</h1>
<div class="box-container">
<div class="box">
<img src="Images/hands.png" alt="">
<h2>Wash Hands</h2>
<a href="Wash_hands.html" class="btn">Learn More</a>
</div>
<div class="box">
<img src="Images/healthy.png" alt="">
<h2>Eat Healthy</h2>
<a href="eat_healthy.html" class="btn">Learn More</a>
</div>
<div class="box">
<img src="Images/diet.png" alt="">
<h2>Change Diet</h2>
<a href="diet.html" class="btn">Learn More</a>
</div>
</div>
</section>
<!---------------------------------------------------------------------------->
<section class="symtoms" id="symtoms">
<div class="content">
<h1 class="heading"><span>What are the main</span> Symptoms of unhealthy diet</h1>
<ul>
<div class="symtoms1">
<li>Unexplained Fatigue</li>
<li>Diarrhea</li>
<li>Brittle and dry hair</li>
</div>
<div class="symtoms2">
<li>Mouth Problems</li>
<li>Apathy or Irriability</li>
</div>
</ul>
<a href="causes.html" class="btn">Know More</a>
</div>
<div class="image">
<img src="Images/symtoms.png" alt="">
</div>
</section>
<!------------------------------------------------------------------------->
<!-- <section class="grid" id="grid">
<div class="image">
</div>
</section> -->
<!----------------------------------------------------------------------------->
<section class="footer">
<div class="box-container">
<div class="box">
<h2>About Us</h2>
<p>Contact Us and stay updated 😷</p>
</div>
<div class="box">
<h2>Navbars</h2>
<a href="#home">Home</a>
<li><a href="#protect">Protection</a></li>
<a href="protect.html">Food</a>
<a href="#symtoms">Symtoms</a>
<a href="bot.html">Bot</a>
<a href="contact.html">Contact</a>
</div>
<div class="box">
<h2>Contact Info</h2>
<p>mumbai, 12345</p>
<p>mumbai,India-12345</p>
<p>[email protected]</p>
</div>
</div>
<h1 class="credit"><a href="#">Developed By Mayur J</a></h1>
</section>
<!---------------------------------->
<a href="#home" class="scroll-top" aria-label="scroll-top-icon">
<i class="fas fa-arrow-up"></i>
</a>
<!------------------------------------------------------------------------------>
<script>
var icon = document.getElementById("icon");
var bg_dark = document.getElementById("theme-toggle-img");
icon.onclick = function () {
document.body.classList.toggle("dark-theme");
if (document.body.classList.contains("dark-theme")) {
icon.src = "Images/sun.svg";
bg_dark.src = "Images/dark-background.svg"
} else {
icon.src = "Images/moon.svg";
bg_dark.src = "Images/background.svg"
}
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="js/index.js"></script>
<!-------------------------------------------------------------------->
</body>
</html>