-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask-2.html
More file actions
34 lines (34 loc) · 1.14 KB
/
Task-2.html
File metadata and controls
34 lines (34 loc) · 1.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
</head>
<body>
<div class="row mt-5 m-auto">
<div class="col w-25 ms-5"><h1>Page 1</h1>
<div><a href="https://ethnus.com/">page2</a></div>
<div><button onclick="goForward()">Next</button></div>
</div>
<div class="col w-25 "><h1>Page 2</h1>
<div><a href="https://www.amazon.com/">page3</a></div>
<div><button onclick="goForward()">Next</button></div>
</div>
<div class="col w-25"><h1>Page 3</h1>
<div><a href="https://ethnus.com/">page2</a></div>
<div><button onclick="goBack()">Previous</button></div>
</div>
</div>
<script>
function goBack() {
window.history.back()
}
function goForward() {
window.history.forward()
}
</script>
</body>
</html>