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{%load static %}
<!DOCTYPE html>
<html lang="en" style="scroll-behavior: smooth;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexapy LearnHub - Learn Python from Basics to Advanced</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link rel="stylesheet" href="{%static 'css/courses.css'%}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link href="{% static 'fontawesomefree/css/fontawesome.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'fontawesomefree/css/brands.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'fontawesomefree/css/solid.css' %}" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO Meta Description -->
<meta name="description" content="Nexapy LearnHub: Your ultimate platform to learn Python, connect with developers, and enhance your coding skills through live classes, tutorials, and a thriving community.">
<!-- Keywords for Search -->
<meta name="keywords" content="Python, programming, Python courses, coding tutorials, Python community, learn Python, Python for beginners, Nexapy LearnHub">
<!-- Author -->
<meta name="author" content="Nexapy Technologies">
<!-- Favicon -->
<link rel="icon" href="{% static '/images/nexapytech.png' %}">
<!-- Open Graph for Social Sharing -->
<meta property="og:title" content="Nexapy LearnHub">
<meta property="og:description" content="Learn Python, connect with developers, and grow with Nexapy LearnHub. Join live classes, explore tutorials, and be part of a supportive community.">
<meta property="og:image" content="https://learn.nexapytechnologies.com/static/images/nexapytech.png">
<meta property="og:url" content="https://learn.nexapytechnologies.com">
<meta property="og:type" content="website">
</head>
<body>
<!-- Header Section -->
<header>
<div class="container">
<h1>Nexapy LearnHub</h1>
<p>Your One-Stop Destination to Master Python Programming</p>
</div>
</header>
<!-- Navigation Bar -->
<nav>
<div class="container">
<ul>
<li><a style="color:#fa970c" href="/home">Home</a></li>
<li><a href="#beginner">Beginner Courses</a></li>
<li><a href="#intermediate">Intermediate Courses</a></li>
<li><a href="#advanced">Advanced Courses</a></li>
<li><a href="#applications">What You Can Do with Python</a></li>
</ul>
</div>
</nav>
<!-- Main Content -->
<main>
<div class="container">
<!-- Beginner Courses Section -->
<section id="beginner">
<h2>Beginner Courses</h2>
<div class="course-list">
{% for beginner_course in beginner_courses %}
<div class="course-item section" id="{{beginner_course.id}}">
<h3 class="course-title" >{{beginner_course.title}}</h3>
<p class="course-descpt"> {{beginner_course.description}}</p>
<input type="hidden" class="course-id" name="course_id" value={{beginner_course.id}} >
{% if request.user.is_authenticated %}
{% if beginner_course.id in task_completed %}
<a class="btn coursemodal" id="completion"> <i class="fa-solid fa-circle-check"></i> Task Completed </a>
{% elif beginner_course.id in under_review %}
<a class="btn coursemodal" id="reviewdisabled"> <i class="fa-solid fa-circle-info"></i> Under Review </a>
{% elif beginner_course.id in enrolled_courses %}
<a class="btn coursemodal" id="coursedisabled">Enrolled</a>
{% else %}
<a class="btn coursemodal">Enroll Now</a>
{% endif %}
{%else%}
<a style="display:none ;">Enroll</a>
{%endif%}
</div>
{%endfor%}
</div>
</section>
<!-- Intermediate Courses Section -->
<section id="intermediate">
<h2>Intermediate Courses</h2>
<div class="course-list">
{% for intermidiate_course in intermidiate_courses %}
<div class="course-item section" id="{{intermidiate_course.id}}">
<h3 class="course-title">{{intermidiate_course.title}}</h3>
<p class="course-descpt">{{intermidiate_course.description}}</p>
<input type="hidden" class="course-id" name="course_id" value={{intermidiate_course.id}} >
{% if request.user.is_authenticated %}
{% if intermidiate_course.id in task_completed %}
<a class="btn coursemodal" id="completion"> <i class="fa-solid fa-circle-check"></i> Task Completed </a>
{% elif intermidiate_course.id in under_review %}
<a class="btn coursemodal" id="reviewdisabled"> <i class="fa-solid fa-circle-info"></i> Under Review </a>
{% elif intermidiate_course.id in enrolled_courses %}
<a class="btn coursemodal" id="coursedisabled">Enrolled</a>
{% else %}
<a class="btn coursemodal">Enroll Now</a>
{% endif %}
{%else%}
<a style="display:none ;">Enroll</a>
{%endif%}
</div>
{%endfor%}
</div>
</section>
<!-- Advanced Courses Section -->
<section id="advanced">
<h2>Advanced Courses</h2>
<div class="course-list">
{% for advanced_course in advanced_courses %}
<div class="course-item section" id="{{advanced_course.id}}">
<h3 class="course-title">{{advanced_course.title}}</h3>
<p class="course-descpt">{{advanced_course.description}}</p>
<input type="hidden" class="course-id" name="course_id" value={{advanced_course.id}} >
{% if request.user.is_authenticated %}
{% if advanced_course.id in task_completed %}
<a class="btn coursemodal" id="completion"> <i class="fa-solid fa-circle-check"></i> Task Completed </a>
{% elif advanced_course.id in under_review %}
<a class="btn coursemodal" id="reviewdisabled"> <i class="fa-solid fa-circle-info"></i> Under Review </a>
{% elif advanced_course.id in enrolled_courses %}
<a class="btn coursemodal" id="coursedisabled">Enrolled</a>
{% else %}
<a class="btn coursemodal">Enroll Now</a>
{% endif %}
{%else%}
<a style="display:none ;">Enroll</a>
{%endif%}
</div>
{%endfor%}
</div>
</section>
<!-- Applications Section -->
<section id="applications">
<h2>What You Can Do with Python</h2>
<div class="applications-list">
<div class="application-item">
<h3 class="course-title">Web Development</h3>
<p>Build dynamic websites and applications with frameworks like Django and Flask.</p>
</div>
<div class="application-item">
<h3 class="course-title">Data Science</h3>
<p>Analyze data and build machine learning models with Python libraries like Pandas, NumPy, and scikit-learn.</p>
</div>
<div class="application-item">
<h3 class="course-title">Automation</h3>
<p>Automate repetitive tasks and enhance productivity using Python scripts.</p>
</div>
<div class="application-item">
<h3 class="course-title">Game Development</h3>
<p>Create simple 2D games and learn the basics of game development using Pygame.</p>
</div>
<div class="application-item">
<h3 class="course-title">Networking</h3>
<p>Use Python for network automation, monitoring, and analysis with tools like Paramiko and Scapy.</p>
</div>
</div>
</section>
</div>
</main>
<!----------------------enrolment form submittion---------------->
{% if request.user.is_authenticated %}
<div id="courseModal" class="enrollmodal">
<div class="enrollmodal-content">
<span id="enrolclose-btn" class="enrollclose">×</span>
<h2 id="course" >Course Enrollment Form</h2><br>
<p>Your details have been pre-filled, Please review and submit to enroll!</p>
<form id="enrollmentForm" action="/course_enrollment" method="POST">
{%csrf_token%}
<label for="username" style="color:#0056b3">Username: </label>
<input type="text" id="username" name="username" readonly value="{{request.user.username}}" readonly disabled><br>
<label for="email" style="color:#0056b3">Email:</label>
<input type="email" id="email" name="email" value="{{request.user.email}}" readonly disabled ><br>
<label for="course">Course:</label>
<input type="text" id="coursefield" name="courseEnroll" readonly>
<input type="hidden" id="courseidval" name="course_id" >
<label for="courseDescription">Course Description:</label>
<textarea id="course-descpt-val" name="courseDescription" readonly ></textarea><br>
<button
class="enrolBtn" type="submit">
<i class="fa fa-spinner" aria-hidden="true" style="display: none;"></i>
<span class="btn-txt"> Submit</span>
</button>
</form>
</div>
</div>
{%endif%}
<!----------------------------poup notification --------------------------------------->
<!-- Footer Section -->
<div class="footer-bg">
<footer>
<ul class="social-icons">
<li><a href="https://www.facebook.com/profile.php?id=100091470267419&mibextid=LQQJ4d" target="_blank"><i class="fab fa-facebook"></i></a></li>
<li><a href="https://www.twitter.com/pythoneer_001" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li><a href="https://www.linkedin.com/in/samson-odetola-509657249" target="_blank"><i class="fab fa-linkedin"></i></a></li>
<!-- Add more social links with Font Awesome icons as needed -->
</ul>
<!-- Add more social links with Font Awesome icons as needed -->
</ul>
<p id="foot">
© 2025 <b>Nexapy Technologies.</b> All rights reserved. </p>
<p ><a style="color: #f82727" href="mailto:{{contact_email}}">Contact Us | Email</a></p>
</footer>
</div>
<script src="{% static 'js/courses.js'%}"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</body>
</html>