-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html.bak
162 lines (135 loc) · 5.53 KB
/
index.html.bak
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
<!DOCTYPE html>
<html>
<title>Akshit's News Site</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="w3.css">
<link rel="stylesheet" href="font.css">
<link rel="stylesheet" href="fontface.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}
body, html {
height: 100%;
color: #777;
line-height: 1.8;
}
/* Create a Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3 {
opacity: 0.7;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* First image (Logo. Full height) */
.bgimg-1 {
background-image: url('news.jpg');
min-height: 100%;
}
.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}
/* Turn off parallax scrolling for tablets and mobiles */
@media only screen and (max-width: 1024px) {
.bgimg-1, .bgimg-2, .bgimg-3 {
background-attachment: scroll;
}
}
</style>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<ul class="w3-navbar" id="myNavbar">
<li><a href="news.html" class="w3-padding-large">RECENT NEWS</a></li>
<li><a href="weather.html" class="w3-padding-large">WEATHER</a></li>
<li><button onclick="document.getElementById('id01').style.display='block'" class="w3-btn w3-padding-large">REVIEW</button></li>
</ul>
<div id="id01" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom w3-card-8">
<header class="w3-container w3-teal">
<span onclick="document.getElementById('id01').style.display='none'"
class="w3-closebtn">×</span>
<h2>REVIEW</h2>
</header>
<div class="w3-container">
<form name="reviewform" action="thanks.php" method="post">
<p>How was your experience with the site...</p>
<div class="w3-row">
<div class="w3-col m3 w3-center w3-green">
<input type="radio" name="formDoor[]" id="revrad[]" value="Excellent"> Excellent
</div>
<div class="w3-col m3 w3-center w3-lime">
<input type="radio" name="formDoor[]" id="revrad[]" value="Good"> Good
</div>
<div class="w3-col m3 w3-center w3-yellow">
<input type="radio" name="formDoor[]" id="revrad[]" value="Average"> Average
</div>
<div class="w3-col m3 w3-center w3-red">
<input type="radio" name="formDoor[]" id="revrad[]" value="Bad"> Bad
</div>
</div>
<b><p>Comments :</p></b>
<textarea name="revcomm" id="revcomm" rows="4" cols="105"></textarea>
<input type="submit" class="w3-btn w3-teal" id="sub">
</form>
</div>
<footer class="w3-container w3-teal">
<p>Thanks</p>
</footer>
</div>
</div>
</div>
<!-- First Parallax Image with Logo Text -->
<div class="bgimg-1 w3-opacity w3-display-container">
<div class="w3-display-middle" style="white-space:nowrap;">
<span class="w3-center w3-padding-xlarge w3-black w3-xlarge w3-wide w3-animate-opacity">AKSHIT'S <span class="w3-hide-small">NEWS</span> SITE</span>
</div>
</div>
<!-- Container (About Section) -->
<div class="w3-content w3-container w3-padding-64" id="about">
<h3 class="w3-center">DEVELOPER'S SECTION</h3>
<p class="w3-center"><em>We love developing for the web</em></p>
<p>We have created this NEWS and Weather reader website altogether. This site updates the weather every hour on the server. this site uses html, css and javascript, also jQuerry as its server base. This site also uses some of the AJAX apis for cloudflare. Thsi site consists of six NEWS pages.</p>
<div class="w3-row">
<div class="w3-col m6 w3-center w3-section">
<p class="w3-large"><b>Akshit Garg</b></p>
<img src="https://unsplash.it/235/235?image=90" class="w3-circle w3-hover-opacity" alt="Photo of Me">
</div>
<!-- Hide this text on small devices -->
<div class="w3-col m6 w3-hide-small w3-section">
<p></p>
</div>
</div>
<div class="w3-row">
<div class="w3-col m6 w3-center w3-section">
<p class="w3-large"><b>Sparsh Makkar</b></p>
<img src="https://unsplash.it/235/235?image=80" class="w3-circle w3-hover-opacity" alt="Photo of Me">
</div>
<!-- Hide this text on small devices -->
<div class="w3-col m6 w3-hide-small w3-section">
<br><br><br><br> <p>Here is the big guy of the group of class 11. With alot of interest in Multi-Media and developing. Here is a little piece of my talent...</p>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-center w3-dark-grey w3-padding-48 w3-hover-black">
<p>Made by Akshit Garg and Sparsh Makkar</p>
</footer>
<!-- Add Google Maps -->
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
}
// Change style of navbar on scroll
window.onscroll = function() {myFunction()};
function myFunction() {
var navbar = document.getElementById("myNavbar");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
navbar.className = "w3-navbar" + " w3-card-2" + " w3-animate-top" + " w3-white";
} else {
navbar.className = navbar.className.replace(" w3-card-2 w3-animate-top w3-white", "");
}
}
</script>
</body>
</html>