-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdLessonFive.html
More file actions
85 lines (73 loc) · 1.93 KB
/
Copy pathdLessonFive.html
File metadata and controls
85 lines (73 loc) · 1.93 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
<!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(38, 233, 247);
}
.container {
width: 400px;
margin: 0 auto;
text-align: center;
}
.Vcontainer{
display: flex;
justify-content: center;
}
.BoxContainer {
display: flex;
flex-direction: column;
align-items: center;
}
.box {
width: 180px;
height: 70px;
background-color: #7c7878;
border: 1px solid #292626;
margin: 10px;
text-align: center;
line-height: 70px;
}
</style>
<script>
function previous() {
window.location.href = "cLessonFour.html";
}
function next() {
window.location.href = "dLessonSix.html";
}
</script>
<body>
<div class="container">
<h1>Html Homework 😜</h1>
<h1>Tablet</h1>
<h3 style="font-style: italic;">1: 2 boxes in a row</h3>
<h3 style="font-style: italic;">2: Device width 768px -1024px</h3>
<h3 style="font-style: italic;">3: Margin between boxes</h3>
</div>
<div class="Vcontainer">
<div class="BoxContainer">
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
<div class="BoxContainer">
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
</div>
<div class="container">
<h3>Tablet</h3>
<h4>Pages(5:7)</h4>
<button onclick="previous()">⬅ Previous page</button>
<button onclick="next()">Next page ➡</button>
</div>
</body>
</html>