-
Notifications
You must be signed in to change notification settings - Fork 2
/
newonline_course.html
479 lines (453 loc) · 13.8 KB
/
newonline_course.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
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!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>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<style>
*{
margin: 0;
padding: 0;
/* color: whitesmoke; */
user-select: none;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.sidebar{
position: fixed;
width: 250px;
left: -250px;
background-color: #fcf9f9;
height: 100%;
transition: left 0.4s ease;
}
.sidebar .text{
padding-top: 10px;
color: rgb(13, 13, 13);
font-size: 25px;
font-weight: 600;
line-height: 65px;
text-align: center;
background: #f3efef;
padding-top: 10px;
letter-spacing: 1px;
}
nav ul{
background: #dcd9d9;
height: 100%;
width: 100%;
list-style: none;
}
nav ul li{
line-height: 60px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
nav ul li a{
position: relative;
color: rgb(2, 2, 2);
text-decoration: none;
font-size: 18px;
padding-left: 40px;
font-weight: 500;
display: block;
width: 100%;
border-left: 3px solid transparent;
transition: all 700ms linear;
}
nav ul li a:hover{
color: rgb(52, 55, 55);
background: #b9dcde;
border-left-color: cyan;
}
nav ul ul{
position: static;
display: none;
}
nav ul .feat-show.show{
display: block;
}
nav ul .serv-show.show1{
display: block;
}
nav ul ul li{
line-height: 42px;
border-bottom: none;
}
nav ul ul li a{
font-size: 17px;
color: #232222;
padding-left: 80px;
}
nav ul li a span{
position: absolute;
color: rgb(7, 21, 66);
top: 48%;
right: 20px;
font-size: 20px;
transform: translateY(-50%);
transition: transform 0.4s;
}
nav ul li a span.rotate{
transform: translateY(-50%) rotate(-180deg);
}
.btn{
position: absolute;
top: 15px;
left: 15px;
height: 45px;
text-align: center;
border-radius: 50%;
cursor: pointer;
width: 45px;
background: #f6f3f3;
transition: left 0.4s ease;
}
.btn:hover{
background: #f6f3f3;
}
.sidebar.show{
left: 0px;
}
.btn.click span:before{
content: '\f00d';
}
.btn.click{
left: 260px;
}
.btn span{
color: rgb(0, 0, 0);
font-size: 22px;
line-height: 45px;
}
img{
height: 40px;
width: 100px;
}
#mainnav{
height: 70px;
width: 100%;
/* border: 1px solid red; */
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
position: fixed;
background-color: white;
z-index: 999;
}
#logo>img{
margin-top: 15px;
margin-left: 100px;
width: 70px;
}
#btn{
position: absolute;
right: 40px;
top: 15px;
}
#sign{
height: 40px;
color: white;
border: red;
border: 1px solid red;
background-color: rgb(224, 17, 17);
width: 95px;
border-radius: 5px;
font-size: 15px;
}
#iclass{
top: 15px;
position: absolute;
right: 170px;
}
section{
display: grid;
width: 79%;
margin: auto;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: auto;
gap: 20px;
}
img {
width: 100%;
}
section>div{
/* width: 50px; */
box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 20%),0px 1px 1px 0px rgb(0 0 0 / 14%),0px 2px 1px -1px rgb(0 0 0 / 12%);
border-radius: 5px;
}
#Course_details{
margin-top: 0px;
padding: 16px;
padding-top: 0px;
flex-grow: 0;
max-width: 100%;
flex-basis: 100%;
border-bottom: 0.5px dashed rgb(170, 170, 170);
}
#Course_details>h2{
font-size: 15px ;
font-weight: 700;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
#Course_details>p{
color: rgba(0, 0, 0, 0.54);
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-size: 14.3px;
margin-top: 0px;
margin-bottom: 0px;
}
#price_details{
text-align: right;
margin: 0px;
padding: 5px;
}
#price_details>p{
display: inline-block;
font-size: 15px;
text-decoration: line-through;
color: rgba(0, 0, 0, 0.54);
margin: 3px;
}
#price_details>h5{
display: inline-block;
font-size:17px;
margin: 3px;
}
#price_details>button{
background-color: white;
color: rgb(255, 179, 38);
font-weight: bold;
font-size: 15px;
border: none;
}
#Functionality{
text-align: right;
padding: 5px;
}
#Functionality>a{
padding: 4px 8px;
font-size: 13px;
color: #087CDD;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: bold;
vertical-align: middle;
}
#Functionality>button{
padding: 4px 8px;
font-size: 13px;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
background-color: red;
color: white;
border: none;
border-radius: 3px;
padding: 5px;
}
a{
text-decoration: none;
}
img{
width: 100%;
height: 140px;
}
h1{
text-align: center;
}
#hero-image {
/* border: 1px solid red; */
background-image: url("https://assets.interntheory.com/creative/courses/listpage/Course-bannerbg.jpg"); /* The image used */
background-color: #cccccc; /* Used if the image is unavailable */
height: 195px; /* You must set a specified height */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
#hero-image>div{
width: 78%;
height: 190px;
margin: auto;
margin-top: 10px;
/* align-items: center; */
}
#hero-image>div>img{
height: 100%;
}
#writings{
width: 79%;
margin: auto;
margin-top: 25px;
margin-bottom: 20px;
}
#writings>h3{
color: rgba(0, 0, 0, 0.54);
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 400;
}
#writings>p{
color: rgba(0, 0, 0, 0.54);
font-size: 14px;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 400;
line-height: 1.75;
}
@media all and (min-width: 451px) and (max-width: 750px){
section{
width: 80%;
display: grid;
grid-template-columns: repeat(2,1fr);
grid-template-rows:auto ;
/* grid-template-areas:
"a b c d"; */
margin: auto;
}
}
#internimg{
height: 50px;
width: 40%;
}
</style>
<body>
<div id="mainnav">
<div class="btn">
<span class="fas fa-bars"></span>
</div>
<nav class="sidebar">
<div class="text"><img id="internimg" style="width: 30%;" src="https://assets.interntheory.com/creative/logo.png" alt=""></div>
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li><a href="internship.html">Internships</a></li>
<li><a href="job.html">Jobs</a></li>
<li><a href="#">Post Internships</a></li>
<li>
<a href="#" class="feat-btn">Courses
<span class="fas fa-caret-down first"></span>
</a>
<ul class="feat-show">
<li><a href="newonline_course.html">Online Courses</a></li>
<li><a href="newoffline_course.html">Classroom Training</a></li>
</ul>
</li>
<li><a href="contact.html">Contact Us</a></li>
<li>
<a href="#" class="serv-btn">Login
<span class="fas fa-caret-down second"></span>
</a>
<ul class="serv-show">
<li><a href="#">Company</a></li>
<li><a href="#">Student</a></li>
</ul>
</li>
</ul>
</nav>
<div id="logo"><img id="internimg" src="https://assets.interntheory.com/creative/logo.png" alt=""></div>
<div id="iclass"><a href="newcart.html"><i class="fa fa-shopping-cart" style="font-size:36px"></i></a></div>
<div id="btn">
<input type="button" id="sign" value="SIGN IN">
</div>
</div>
<div id="hero-image" style="padding-top:15px;">
<div><img src="https://assets.interntheory.com/creative/courses/listpage/Course-banner1.png" alt=""></div>
</div>
<div id="writings">
<h3>Certified Online Courses</h3>
<p>Upgrade your skills with Intern Theory's online learning platform. Enrol for any certified online courses and get a step ahead of competition. Select from a range of skill based online courses and kickstart your career.</p>
</div>
<section>
</section>
</body>
</html>
<script type="module">
$('.btn').click(function(){
$(this).toggleClass('click')
$('.sidebar').toggleClass('show')
})
$('.feat-btn').click(function(){
$('nav ul .feat-show').toggleClass("show");
$('nav ul .first').toggleClass("rotate");
})
$('.serv-btn').click(function(){
$('nav ul .serv-show').toggleClass("show1");
$('nav ul .second').toggleClass("rotate");
})
let Data = [
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/data-analytics-r-programming-course.png",
name:"IT Starter Pack (4 Courses)",
description:"Learn the most demanded skills in the IT industry today. Sig ...",
dicount:"32999",
price:"15999",
EMI:"EMI starting at ₹ 915/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/digital-marketing-course.png",
name:"Digital Marketing Course",
description:"Learn the art of digital marketing. Sign up for this online ...",
dicount:"11999",
price:"5999",
EMI:"EMI starting at ₹ 343/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/data-analytics-r-programming-course.png",
name:"Data Analytics With R Programming Course",
description:"Learn data science online. Join this online data analytics c ...",
dicount:"11999",
price:"5999",
EMI:"EMI starting at ₹ 343/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/web-development-course.png",
name:"Web Development Course",
description:"Learn the art of web design and web development. Join this o ...",
dicount:"7999",
price:"15999",
EMI:"EMI starting at ₹ 915/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/tally-gst-course.png",
name:"Tally + GST Course",
description:"Sign up for this online tally and gst course and learn how t ...",
dicount:"7999",
price:"3999",
EMI:"EMI starting at ₹ 229/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/android-app-development-kotlin-course.png",
name:"Android App Development Using Kotlin Course",
description:"Learn the most demanded skills in the IT industry today. Sig ...",
dicount:"7999",
price:"3999",
EMI:"EMI starting at ₹ 915/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/advanced-excel-course.png",
name:"Advanced Excel Course",
description:"Master MS Excel. Take the online ms excel course and learn t ...",
dicount:"5999",
price:"2999",
EMI:"EMI starting at ₹ 172/month"
},
{
image:"https://assets.interntheory.com/creative/courses/thumbnails/r-programming-course.png",
name:"R Programming Course",
description:"Learn r programming online. Sign up for this online r progra ...",
dicount:"5999",
price:"2999",
EMI:"EMI starting at ₹ 172/month"
},
]
import { display } from "./components/common_course.js"
display(Data)
let user = JSON.parse(localStorage.getItem("userdata"));
if(user!=null)
{
document.querySelector("#btn").innerHTML=`<a href="profile.html"><h2>Hi, ${user[0].firstname}</h2></a>`
}
else{
alert("Please Create an account first")
}
var i=0
</script>