forked from Ashutoshak5384/html-basic-web-page
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
196 lines (175 loc) · 8.33 KB
/
index.html
File metadata and controls
196 lines (175 loc) · 8.33 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
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!-- add nav bar section here -->
<div class="topnav" id="myTopnav">
<a href="#Educode" class="active">Educode</a>
<a href="#cources">pricing</a>
<a href="#contact us">Contact us</a>
<a href="#about">About</a>
<a href="#insider">Insider</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Educode</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="img/logo.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdn.jsdelivr.net/gh/cferdinandi/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
<!--font Awesome ... for button icon-->
<script src="https://kit.fontawesome.com/9973cec642.js" crossorigin="anonymous"></script>
<style>
.BackToTop{
margin-top: 30px;
margin-left: 50%;
}
</style>
</head>
<body>
<section id="header" style="background-image: url('img/background.png');">
<div class="container">
<div class="header-text">
<h1>The purpose is to <br> teach, bring learning to people</h1>
<span class="square"></span>
<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable</p>
<a href="#about"><button class="common-btn">Read More</button></a>
<div class="line">
<span class="line-1"></span> <br>
<span class="line-2"></span> <br>
<span class="line-3"></span>
</div>
</div>
</div>
</section>
<!--top button start -->
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa fa-angle-double-up"></i></div></button>
<!--top button end -->
<button onclick="topFunction()" id="myBtn" title="Go to end"><i class="fa fa-angle-double-up"></i></div></button>
//Get the button
var mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<!-- About Us -->
<section id="about">
<div class="about-left-col">
<img src="img/about.png" alt="abt-img">
</div>
<div class="about-right-col">
<div class="about-text">
<h1>About Us</h1>
<span class="square"></span>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it oer 2000 years old. Richard McClintock, a Latin professor at Hampden-Syndey College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cities of the word in classical literature, discovered the undoubtable source.</p><br><br>
<div class="line">
<span class="line-1"></span> <br>
<span class="line-2"></span> <br>
<span class="line-3"></span>
</div>
<h2>"Learning is not attached by chance, it must be sought for with ardor and attended to with diligence"</h2>
<h3> -Anonymous - </h3>
</div>
</div>
</section>
<!-- Features -->
<section id="features">
<div class="feature-row">
<div class="feature-col">
<img src="img/pic-1.png" alt="">
<h4>Learn Anywhere</h4>
<p>Switch between your computer, tablet or mobile</p>
</div>
<div class="feature-col">
<img src="img/pic-2.png" alt="">
<h4>Expert Teachers</h4>
<p>Learn from industry experts who are passionate about teaching.</p>
</div>
<div class="feature-col">
<img src="img/pic-3.png" alt="">
<h4>Unlimited Resources</h4>
<p>Choose what you'd like to learn from our extensive subscription library</p>
</div>
</div>
<div class="feature-btn">
<div class="line">
<span class="line-1"></span><br>
<span class="line-2"></span><br>
<span class="line-3"></span>
</div>
<a href="#courses"><button class="common-btn">Start Free Trial</button></a>
</div>
</section>
<!-- Courses -->
<section id="courses">
<div class="container course-row">
<div class="course-left-col">
<div class="course-text">
<h1>Browse our top <br>courses</h1>
<span class="square"></span>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature
from 45 BC, making it oer 2000 years old. Richard McClintock, a Latin professor at Hampden</p>
<a href="pricing.html" target="_blank"><button class="common-btn">View Pricing</button></a>
<div class="line">
<span class="line-1"></span><br>
<span class="line-2"></span><br>
<span class="line-3"></span>
</div>
</div>
</div>
<div class="course-right-col">
<img src="img/course.png" alt="">
</div>
</div>
</section>
<!-- Offers -->
<section id="offer">
<div class="about-left-col">
<img src="img/offer.png" alt="offers-img">
</div>
<div class="about-right-col">
<div class="about-text">
<h1>Limitless learning, <br>limitless possibilities</h1>
<span class="square"></span>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it oer 2000 years old. Richard McClintock, a Latin professor at Hampden-Syndey College in Virginia.</p>
<a href="#contact"><button class="common-btn">Start Free Trial</button></a>
<div class="line">
<span class="line-1"></span><br>
<span class="line-2"></span><br>
<span class="line-3"></span>
</div>
</div>
</div>
</section>
<section>
<h2>Introduction</h2>
<p>This document provides a guide to help with the important task of choosing the correct Apple.</p>
</section>
<!-- TODO : Make a Footer -->
<!-- TODO : Add Social Icons -->
<div class="icon-bar">
<a class="active" href="#"><i class="fa fa-home" style="font-size:60px;color:lightblue;text-shadow:2px 2px 4px></i></a>
<a href="#"><i class="fa fa-facebook" style="font-size:60px;color:lightblue;text-shadow:2px 2px 4px></i></a>
<a href="#"><i class="fa fa-instagram" style="font-size:60px;color:lightblue;text-shadow:2px 2px 4px></i></a>
<a href="#"><i class="fa fa-twitter" style="font-size:60px;color:lightblue;text-shadow:2px 2px 4px></i></a>
<a href="#"><i class="fa fa-linkedin" style="font-size:60px;color:lightblue;text-shadow:2px 2px 4px></i></a>
</div>
<div class="BackToTop">
<a id="back-to-top" href="#" role="button"><i class="fas fa-chevron-up fa-2x"></i></a>
<h4>Back To Top</h4>
</div>
<script src="js/smooth-scroll.min.js"></script>
<script src="js/smooth-scroll.polyfills.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>