-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (125 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student LMS</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css">
</head>
<script src="auth.js"></script>
<body>
<section class="header">
<nav>
<a href="index.html"></a>
<div class="nav-links" id="navLinks">
<i class="fa fa-times" onclick="hidemenu()"></i>
<ul>
<li><a href="index.html">HOME</a></li>
<!-- <li><a href="about.html">ABOUT</a></li> -->
<!-- <li><a href="">LOGIN</a></li>
<li><a href="">SIGNUP</a></li> -->
<li><a href="signup.php">REGISTER</a></li>
<li><a href="login.php">LOGIN</a></li>
<!-- <li><a href="">PROFILE</a></li> -->
<!-- <div class="user-actions">
<a href="login.php">Login</a>
<a href="signup.php">Sign Up</a>
</div> -->
</ul>
</div>
<i class="fa fa-bars" onclick="showMenu()"></i>
</nav>
<div class="text-box">
<h1>Learn to code.</h1>
<p>Choose between a range of beginner-friendly learning paths. <br>Code anytime, anywhere.</p>
<a href="" class="hero-btn">Register to start your learning
</a>
</div>
</section>
<section class="course">
<h1>Languages</h1>
<p>One of the best platforms to kickstart your coding skills.</p>
<div class="row">
<div class="course-col">
<h3>C</h3>
<p>Welcome to the world of C programming, where simplicity meets power! C is a versatile and foundational programming language that has stood the test of time. Developed in the early 1970s, C has been the language of choice for building operating systems, embedded systems, game development, and more.</p>
</div>
<div class="course-col">
<h3>C++</h3>
<p>In this course, you'll dive into the world of C++ and explore its syntax, object-oriented principles, and advanced features. Whether you're a novice eager to grasp the fundamentals or an experienced developer aiming to enhance your skills, C++ opens the door to limitless possibilities in the realm of programming.</p>
</div>
<div class="course-col">
<h3>Python</h3>
<p>In this course, you'll delve into the fundamentals of Python, mastering its syntax and exploring its vast ecosystem of libraries and frameworks. From building web applications to creating intelligent algorithms, Python empowers you to turn your ideas into reality.</p>
</div>
</div>
</section>
<section class="testimonials">
<h1>What our students say</h1>
<br>
<div class="row">
<div class="testimonial-col">
<img src="user1.jpg">
<div>
<p>very good experience learnt lot of new things,would recommend this platorm to learn new skills if you are a beginner</p>
<h3>Christine Berkley</h3>
</div>
</div>
<div class="testimonial-col">
<img src="user2.jpg">
<div>
<p>best platform to kickstart your coding skills,the gaming style this platform is the main attention seeker</p>
<h3>David Byer</h3>
</div>
</div>
</div>
</section>
<section class="cta">
<h1>Enroll in our various online courses<br>from anywhere in the world</h1>
<a href="" class="hero-btn">Contact us</a>
</section>
<section class="footer">
<h4>About Us</h4>
<div class="icons">
<i class="fab fa-facebook"></i>
<i class="fab fa-twitter"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-linkedin"></i>
</div>
<!-- <p>Made with <i class="fa fa-heart-o"></i> </p> -->
</section>
<!-- <button id="toggleModeBtn" onclick="toggleMode()">Toggle Mode</button> -->
<script>
var navlinks = document.getElementById("navLinks");
function showMenu() {
navlinks.style.right = "0";
}
function hidemenu() {
navlinks.style.right = "-200px";
}
function toggleMode() {
document.body.classList.toggle('dark-mode');
}
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const currentUser = getCurrentUser();
if (currentUser) {
if (currentUser.role === 'admin') {
// Modify the page for admin
document.getElementById('reviews').contentEditable = true;
} else {
// Modify the page for regular users
document.getElementById('reviews').contentEditable = false;
}
}
});
</script>
</body>
</html>