-
Notifications
You must be signed in to change notification settings - Fork 0
/
cLessonFour.html
92 lines (83 loc) · 2.13 KB
/
cLessonFour.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Html Homework</title>
</head>
<style>
body{
background-color: rgb(218, 218, 154);
}
.container {
width: 400px;
margin: 0 auto;
text-align: center;
}
.box {
width: 350px;
height: 70px;
background-color: #7c7878;
display: inline-block;
margin: 10px;
text-align: center;
line-height: 70px;
}
.box2 {
width: 70px;
height: 250px;
background-color: #7c7878;
display: inline-block;
margin: 10px;
text-align: center;
line-height: 250px;
}
.box3 {
width: 255px;
height: 245px;
background-color: #7c7878;
display: inline-block;
margin: 10px;
text-align: center;
line-height: 245px;
}
.box4 {
width: 350px;
height: 50px;
background-color: #7c7878;
display: inline-block;
margin: 10px;
text-align: center;
line-height: 50px;
}
</style>
<script>
function previous() {
window.location.href = "bLessonThree.html";
}
function next() {
window.location.href = "dLessonFive.html";
}
</script>
<body>
<div class="container">
<h1>Html Homework 🫠</h1>
<h4>________________________________________</h4>
</div>
<div class="container">
<h1>Implement below layout</h1>
<h3>The layout must fill out the height of the page. There is a header, sidebar, main content and the footer.</h3>
</div>
<div class="container">
<div class="box">Header</div>
<div class="box2">Sidebar</div>
<div class="box3">Main content</div>
<div class="box4">Footer</div>
</div>
<div class="container">
<h4>Pages(4:7)</h4>
<button onclick="previous()">⬅ Previous page</button>
<button onclick="next()">Next page ➡</button>
</div>
</body>
</html>