-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (75 loc) · 3.16 KB
/
index.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
<!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 rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="w.css">
</head>
<title>foodbite</title>
<body>
<!-- navigation -->
<nav class="navbar">
<a href="home" style="text-decoration:none;" class="pot"><span style="color:black;">HOME</span></a>
<a href="blog" style="text-decoration:none;" class="pot"><span style="color: black;">BLOG</span></a>
<a href="contents" style="text-decoration:none;" class="pot"><span style="color:black;">CONTENTS</span></a>
</nav>
<section>
<img class="myslides" src="hamburger.jpg" alt="there is burger" style="width:100%">
<img class="myslides" src="muffins.jpg" alt="mufins" style="width:100%">
<img class="myslides" src="pizza.jpg" alt="pizza" style="width:100%">
</section>
<!-- jscript -->
<script>
// Automatic Slideshow - change image every 3 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("myslides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) { myIndex = 1 }
x[myIndex - 1].style.display = "block";
setTimeout(carousel, 3000);
}
</script>
<section class="op" style="max-width:600px">
<h2 class="op">THE FOOD</h2>
<p class="op"><em>i love food</em></p>
<p class="op">We have created a fictional band website. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
</section>
<section class="container">
<article class="food">
<p>broccoli</p>
<img class='img' src="tablesetting.jpg" alt="Random Name">
<p>brocoliis the delicious.</p>
</article>
<article class="food">
<p>Bread</p>
<img class='img' src="tablesetting2.jpg" alt="Random Name">
<p>thats tastier than thought.</p>
</article>
</section>
<!-- Footer -->
<footer class="footer">
<a href="#"><i class="fa fa-facebook-official"></i></a>
<a href="#"><i class="fa fa-pinterest-p"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-linkedin"></i></a>
<p class="w3-medium">
Powered by <a href="https://www.google.com" style="text-decoration:none" ; target="_blank">Google</a>
</p>
</footer>
</body>
</html>