-
Notifications
You must be signed in to change notification settings - Fork 0
/
dLessonSix.html
69 lines (61 loc) · 1.58 KB
/
dLessonSix.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
<!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;
}
.BoxContainer {
display: flex;
flex-direction: column;
align-items: center;
}
.box {
width: 250px;
height: 50px;
background-color: #7c7878;
border: 1px solid #292626;
margin: 10px;
text-align: center;
line-height: 70px;
}
</style>
<script>
function previous() {
window.location.href = "dLessonFive.html";
}
function next() {
window.location.href = "endPage.html";
}
</script>
<body>
<div class="container">
<h1>Html Homework 😇</h1>
<h1>Mobile</h1>
<h3 style="font-style: italic;">1: 1 box per row</h3>
<h3 style="font-style: italic;">2: Device width range 360px - 640px</h3>
<h3 style="font-style: italic;">3: Margin between boxes</h3>
</div>
<div class="BoxContainer">
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
<div class="container">
<h3>Mobile</h3>
<h4>Pages(6:7)</h4>
<button onclick="previous()">⬅ Previous page</button>
<button onclick="next()">Next page ➡</button>
</div>
</body>
</html>