forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (71 loc) · 3.03 KB
/
index.html
File metadata and controls
98 lines (71 loc) · 3.03 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Lifestyle</title>
<link
href="//fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<!-- header -->
<header class="page_header">
<div class="menu">
<a class="active" href="#home">Home</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
<a href="#about">About</a>
</div>
<div class="header">
<h1>Lifestyle</h1>
<p>On this website, we will learn how we can change our Lifestyles such as:</p>
<nav>
<ul class="list1">
<li>Exersice</li>
<li>eating</li>
<li>thinking</li>
</ul>
</nav>
</div>
</header>
<article class="describe">
<h2>What is the healthy Lifestyle?</h2>
<section class="result">
<h3>Good health</h3>
<p>Good health
Good health is not just the absence of disease or illness, it is a state of complete physical, mental and social well-being.This means eating a balanced diet, getting regular exercise, avoiding tobacco and drugs and getting plenty of rest.
Our bodies are like machines that require a balance of protein, carbohydrates, fat, vitamins, minerals and water to stay in good working order.Get the balance wrong and your health will suffer.A balanced diet means eating only as many calories as you use during the day.Any excess will be stored as fat if you eat more than you burn off.</p>
</section>
<article class="describe2">
<h2>How important is staying active?</h2>
<section class="result2">
<h3>Your body is not made to sit around</h3>
<p>
If joints and muscles are to be kept in good, working order they need regular exercise.If you stop walking, they'll stop working.Your body finds it much easier to deal with threats such as sickness, injury, or the occasional sugary or fatty snack if you are active.Exercise also helps you maintain a healthy attitude to problems and mental pressures.You gain less body fat, tire less easily and feel better.Exercise gives you greater flexibility and strength, prevents boredom and helps you sleep.It also helps you find new friends and learn new skills.
</p>
</section>
</article>
</article>
<footer>
<div style="border-bottom: 1px solid black"></div>
<p>copyright</p>
</footer>
</body>
</html>
<header>
<h1></h1>
<p></p>
</header>
<main>
</article>
</main>