forked from vaishnavi2408/CodeWithHarry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebsite.html
More file actions
360 lines (310 loc) · 14.7 KB
/
website.html
File metadata and controls
360 lines (310 loc) · 14.7 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
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Code With Harry is my attempt to teach basics and those coding techniques to people in short time which took me ages to learn. At Code With Harry, I provide a quick and to the point demo along with resources of anything and everything I teach. Source code and other resources are hosted on my website CodeWithHarry.com. I provide source code(if any) in the description of every video.
">
<title>Free Programming Videos, Courses & More In Hindi - Code With Harry</title>
<!-- Bootstrap CSS -->
<!--<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/sketchy/bootstrap.min.css" integrity="sha384-NkI/Nlr1DZ5rUXWWdnuZb97FQRgCCcwC66DC+HUCY0oVx6BgBHUfPcwL1vwp93JZ" crossorigin="anonymous">-->
<link rel="stylesheet" href="https://codewithharry.com/static/home/css/index.css">
<link rel="stylesheet" href="https://codewithharry.com/static/home/css/navbar.css">
<link rel="icon" type="image/png" href="https://codewithharry.com/static/home/img/favicon.png">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-60726752-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-60726752-3');
</script>
<!-- Google Ads Auto -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-9655830461045889",
enable_page_level_ads: true
});
</script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="/"><img class="brandLogo" src="https://codewithharry.com/static/home/img/photo.png" alt="My image"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item font-weight-bold">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item font-weight-bold">
<a class="nav-link" href="/videos">Videos</a>
</li>
<li class="nav-item font-weight-bold">
<a class="nav-link" href="/blog">Blog</a>
</li>
<li class="nav-item font-weight-bold">
<a class="nav-link" href="/contact">Contact Me</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0 mr-3" method="get" action="/search/">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" name="query">
<button class="btn btn-danger my-2 my-sm-0" type="submit">Search</button>
</form>
<div>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#loginModal">Login</button>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#signupModal">SignUp</button>
</div>
</div>
</nav>
<!-- Login Modal -->
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="loginModal">Login using your credentials</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="/profile/login" method='post'>
<input type="hidden" name="csrfmiddlewaretoken" value="Sag4yeJDG42Ttlipi09PErGrNVe416j2ynjB0nEkkEfzSpGWxmdBySEoDaGmEMYc">
<div class="form-group">
<label for="lusername">Username</label>
<input type="name" class="form-control" id="luname" placeholder="Enter your username"
name="uname">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="lpassword" placeholder="Enter your password"
name="password">
</div>
<div class="g-recaptcha" data-sitekey="6LdvcqwUAAAAACmPYNVoiJA7D84xLSQQt5g9p10m"></div>
<input type="hidden" name="path" value="/">
<button type="submit" class="btn btn-danger mt-2" id="loginsubmit">Login</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- SignUp Modal -->
<div class="modal fade" id="signupModal" tabindex="-1" role="dialog" aria-labelledby="signupModal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="signupModal">SignUp for an account</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form name="contact" method="post" action="/profile/signup">
<input type="hidden" name="csrfmiddlewaretoken" value="Sag4yeJDG42Ttlipi09PErGrNVe416j2ynjB0nEkkEfzSpGWxmdBySEoDaGmEMYc">
<div class="form-group">
<label for="uname">Username</label>
<input type="text" class="form-control" id="uname" placeholder="Enter your Name" name="uname">
<small id="unamehelp" class="form-text text-muted px-1">
Your unique username must be less than 10 characters (only lowecase letters, numbers & underscores
allowed) with no spaces
</small>
</div>
<div class="form-group">
<label for="name">First Name</label>
<input type="text" class="form-control" id="fname" placeholder="Enter your First Name" name="fname">
</div>
<div class="form-group">
<label for="name">Last Name</label>
<input type="text" class="form-control" id="lname" placeholder="Enter your Last Name" name="lname">
</div>
<div class="form-group">
<label for="email">Your Email</label>
<div class="mx-0">
<div class="col-md-8 px-0">
<input type="email" class="form-control" id="email" placeholder="Enter your Email" name="email">
<small id="otpMessage" class="form-text"></small>
</div>
<div class="col-md-4 my-1 px-0">
<button class="btn btn-danger btn-sm mt-2" id="otpbtn">Send OTP</button>
</div>
</div>
</div>
<div class="form-group">
<label for="otp">Enter OTP</label>
<input type="text" class="form-control" id="otp" placeholder="Enter OTP" name="otp">
</div>
<div class="form-group">
<label for="password">Choose a password</label>
<input type="password" class="form-control" id="password" placeholder="Choose a password" name="password">
</div>
<div class="form-group">
<label for="password2">Retype a password</label>
<input type="password" class="form-control" id="password2" placeholder="Retype your password"
name="password2">
</div>
<div class="g-recaptcha" data-sitekey="6LdvcqwUAAAAACmPYNVoiJA7D84xLSQQt5g9p10m"></div>
<input type="hidden" name="path" value="/">
<button type="submit" class="btn btn-danger mt-2">SignUp</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<section class="jumbotron text-center">
<div class="container">
<img src="https://codewithharry.com/static/home/img/photo.png" alt="logo" width="120">
<h1 class="jumbotron-heading"><span id="typed"></span></h1>
<p class="lead text-muted">
Confused on which course to take? I have got you covered. Browse courses and find out
the best course for you. Its free!<br>Code With Harry is my attempt to teach basics and those coding
techniques to people in short time which took me ages to learn.
</p>
<p>
<a href="/blog" class="btn btn-danger my-2">Browse Blog</a>
<a href="/videos" class="btn btn-success my-2">Browse Video Tutorials</a>
<a href="/contact" class="btn btn-primary my-2">Contact Me</a>
</p>
</div>
</section>
<div class="container">
<div class="row">
<div class="card mx-auto my-2 p-2 align-items-center" style="width: 18rem;">
<img src="https://codewithharry.com/static/home/img/coding.jpg" class="padded card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title text-center">Free Video Courses</h5>
<p class="card-text text-center">
Get your programming career started with these free video courses. Source code is
available with all the videos for your better experience
</p>
<a href="/videos" class="btn btn-primary d-block">Browse Video Courses</a>
</div>
</div>
<div class="card mx-auto my-2 p-2 align-items-center" style="width: 18rem;">
<img src="https://codewithharry.com/static/home/img/lambda.png" class="padded card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title text-center">Coding Articles</h5>
<p class="card-text text-center">
Some of the latest coding information compiled as coding articles. Keep your
programming knowledge up to date with our coding articles.
</p>
<a href="/blog" class="btn btn-primary d-block">Go to Blog</a>
</div>
</div>
<div class="card mx-auto my-2 p-2 align-items-center" style="width: 18rem;">
<img src="https://codewithharry.com/static/home/img/python.png" class="padded card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title text-center">Contact Me</h5>
<p class="card-text text-center">
Learn programming from our free courses. Examples are available with these
tutorials. You can contact me for any doubt and I will get back to you!
</p>
<a href="/contact" class="btn btn-primary d-block">Contact Me</a>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<footer class="container-fluid bg-dark my-0 py-3 text-light">
<p class="mb-0 text-center">
© 2020-2021 CodeWithHarry.com
</p>
<p class="mb-0 text-center">
<a href="#">Back to top |</a>
<a href="#">Privacy |</a>
<a href="#">Terms</a>
</p>
</footer>
<!-- Custom JavaScript -->
<script src="https://apis.google.com/js/platform.js" defer></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/433888fe69.js" crossorigin="anonymous" defer></script>
<script>
function getCookie(name) {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();
}
let otpbtn = document.getElementById('otpbtn');
if (otpbtn != undefined) {
otpbtn.addEventListener('click', (e) => {
otpbtn.innerText = 'Sending...';
e.preventDefault();
if (!otpbtn.classList.contains('disabled')) {
otpbtn.classList.add('disabled');
otpbtn.disabled = true;
csrf_token = getCookie('csrftoken');
let formData = new FormData();
formData.append('email', document.getElementById('email').value);
formData.append('csrfmiddlewaretoken', csrf_token);
fetch('/utils/sendotp', {
method: 'POST',
body: formData
})
.then(response => response.text())
.then(data => {
console.log(data);
if (data.startsWith("Error")) {
otpMessage.classList.add('text-danger');
otpbtn.innerText = 'Error';
} else {
otpMessage.classList.add('text-success');
otpbtn.innerText = 'OTP Sent';
}
otpMessage.innerText = data;
})
.catch(error => {
console.error(error)
})
} else {
// Otp has already been sent
}
});
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.9/typed.min.js" async defer></script>
<script>
window.onload = function () {
console.log("loaded")
var typed = new Typed('#typed',
{
strings: ["Welcome to CodeWithHarry",
"Learn Python",
"Web development",
"Data Science",
"Machine Learning",
"and other awesome programming concepts with me :)"],
backSpeed: 15,
smartBackspace: true,
backDelay: 1200,
startDelay: 1000,
typeSpeed: 25,
loop: true,
});
};
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qs/6.9.4/qs.min.js" integrity="sha512-BHtomM5XDcUy7tDNcrcX1Eh0RogdWiMdXl3wJcKB3PFekXb3l5aDzymaTher61u6vEZySnoC/SAj2Y/p918Y3w==" crossorigin="anonymous"></script>
<script src="main.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>