This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
forked from MehaRima/gp-responsive-webpage-design
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathindex.html
169 lines (144 loc) · 6.18 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<title>RESPONSIVE WEBSITE</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
.w3-quarter img{margin-bottom: -6px; cursor: pointer}
.w3-quarter img:hover{opacity: 0.6; transition: 0.3s}
</style>
<body class="w3-brown">
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-bar-block w3-brown w3-animate-right w3-top w3-text-white w3-large" style="z-index:3;width:250px;font-weight:bold;display:none;right:0;" id="mySidebar">
<a href="javascript:void()" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-32">CLOSE</a>
<br>
<a href="index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">HOME</a>
<a href="#faq" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">EDUCATION</a>
<a href="#about" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">ABOUT </a>
<a href="section.html " onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16"> HOBBIES </a>
<a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-center w3-padding-16">CONTACT</a>
</nav>
<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-white w3-xlarge w3-padding-16">
<span class="w3-left w3-padding">Guided Project Demo </span>
<a href="javascript:void(0)" class="w3-right w3-button w3-white" onclick="w3_open()">☰</a>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main w3-content" style="max-width:1600px;margin-top:83px">
<!-- About section -->
<div class="w3-container w3-brown w3-center w3-text-white w3-padding-32" id="about">
<h4><b>About </b></h4>
<img src="sample.png" alt="sample" class="w3-image w3-padding-32" width="600" height="650">
<div class="w3-content w3-justify" style="max-width:800px">
<h4>HELLO!!! .</h4>
<p>
Write something about the website.
</p>
</div>
</div>
<hr>
<!-- Photo grid -->
<div class="w3-container w3-brown w3-center w3-text-white w3-padding-32" id="Featured ">
<h4><b>Sample Photo grid</b></h4>
<div class="w3-row w3-grayscale-min">
<div class="w3-quarter">
<img src="Exampler-creations.png" style="width:100%" onclick="onClick(this)" alt="Exampler-creations">
</div>
<div class="w3-quarter">
<img src="Exampler-creations.png" style="width:100%" onclick="onClick(this)" alt="Exampler-creations">
</div>
<div class="w3-quarter">
<img src="Exampler-creations.png" style="width:100%" onclick="onClick(this)" alt="Exampler-creations">
</div>
<div class="w3-quarter">
<img src="Exampler-creations.png" style="width:100%" onclick="onClick(this)" alt="Exampler-creations">
</div>
</div>
<!-- Pagination -->
<div class="w3-center w3-padding-32">
<div class="w3-bar">
<a href="#" class="w3-bar-item w3-button w3-hover-brown">«</a>
<a href="#" class="w3-bar-item w3-brown w3-button">1</a>
<a href="add-pages.html" class="w3-bar-item w3-button w3-hover-brown">Add more pages</a>
<a href="#" class="w3-bar-item w3-button w3-hover-brown">»</a>
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-brown" style="padding-top:0" onclick="this.style.display='none'">
<span class="w3-button w3-brown w3-xlarge w3-display-topright">×</span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption"></p>
</div>
</div>
<hr>
<!-- FAQ section -->
<div class="w3-container w3-brown w3-center w3-text-white w3-padding-32" id="faq">
<h4><b>FAQ's</b></h4>
<div class="w3-content w3-justify" style="max-width:600px">
<p><h5> Sections:</h5></p>
<p>
<button class="w3-button w3-brown w3-padding-large w3-margin-top w3-margin-bottom w3-hover-brown"><a href="section.html">View Section Info</a></button>
</p>
</div>
</div>
<hr>
<!-- Contact section -->
<div class="w3-container w3-brown w3-padding-16 w3-padding-large" id="contact">
<div class="w3-content" style="max-width:600px">
<h2 class="w3-center"><b>Contact Info</b></h2>
<div class="w3-section">
<label><h3>Name</h3></label>
<p>Add info</p>
</div>
<div class="w3-section">
<label><h3>Email</h3></label>
<p>Add info</p>
</div>
<div class="w3-section">
<label><h3>Other info</h3></label>
<p>Add info</p>
</div>
</div>
</div>
<hr>
<!-- Footer -->
<footer class="w3-container w3-white w3-center w3-margin-top">
<span class="w3-center w3-padding">
<p>Links to social media.</p>
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<br>
</footer>
<!-- End page content -->
</div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
</script>
</body>
</html>