forked from CodeYourFuture/HTML-CSS-Coursework-Week3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (59 loc) · 2.41 KB
/
index.html
File metadata and controls
69 lines (59 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Responsive Cake webpage</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="navbar">
<img src="images/logo.png" class="logo">
<p>The best cakes in town delivered to your door</p>
<nav>
<ul id="menuList">
<li><a href="">Home</a></li>
<li><a href="">Cakes</a></li>
<li><a href="">Order In</a></li>
<li><a href="">Lessons</a></li>
<li><a href="">About</a></li>
</ul>
</nav>
<img src="images/menu1.png" class="menu-icon" onclick="togglemenu()">
</div>
<div class="row">
<div class="col-1">
<img src="images/3tier.jpg" class="controller">
<div class="color-box"></div>
</div>
<div class="col-2">
<h2>PS4 V2<br>Dualshock 4</h2>
<h3>Wireless Controller for Play station 4</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<h4>32.50</h4>
</div>
</div>
<div class="social-links">
<img src="images/fb.png">
<img src="images/tw.png">
<img src="images/ig.png">
</div>
</div>
<script>
var menuList=document.getElementById("menuList");
menuList.style.maxHeight="0px";
function togglemenu(){
if(menuList.style.maxHeight=="0px")
{
menuList.style.maxHeight="130px";
}
else
{
menuList.style.maxHeight="0px";
}
}
</script>
</body>
</html>