-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (62 loc) · 4.13 KB
/
index.html
File metadata and controls
63 lines (62 loc) · 4.13 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
<!DOCTYPE html>
<html>
<head>
<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- WARNING! This page uses Google Analytics to track users and what they do. -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120818676-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-120818676-1');
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/image/logo.png">
<title>CodeDojo</title>
<link rel="stylesheet" type="text/css" href="/style/main.css">
</head>
<body>
<div class="header">
<a href="/"><h1>CodeDojo <img src="/image/logo.png" width="40" height="40" alt="Logo"></img></h1></a>
<ul class="navbar">
<li><a href="/" id="activehost">Home</a></li>
<li><a href="/games">Games</a></li>
<li><a href="/learn">Learn</a></li>
<li><a href="/libraries">Libraries</a></li>
<li><a href="/about">About</a></li>
<li><a href="/links">Links</a></li>
</ul>
</div>
<div class="container">
<div class="section" id="welcome-to-codedojo">
<h1><a href="#welcome-to-codedojo">Welcome to CodeDojo!</a></h1>
<p>Welcome to a place where you might like play games, learn to program, view library references, and more! Yes, you read that right. Feel free to look around all you want. Play all you want, learn all you want, code all you want. In depth tutorials teach you just about everything you need to know, from visual models, to excercises, to algorithms, and much, much more. We are also on <a href="https://codepen.io/CodeDojo">CodePen</a> and <a href="https://github.com/CodeDojoOfficial">GitHub</a>, so you can see what we build every day! Learn about different command line tools like pip and git. Maybe even Vim and Nano! So feel free to get excited and learn!</p>
<p style="color: #AAA; text-align: right;">Last updated: June 14, 2018</p>
</div>
<div class="section" id="featured-article">
<h1><a href="#featured-article">Featured Article: Stacks</a></h1>
<p>A stack is a data structure, similar to an array. But there is one key difference. Let's start here. Say you have a stack of papers. If you add a paper to the stack. Keep in mind that you add it to the end, not at the bottom, as that would be hard. To work on the papers, you would go from top to bottom, therefore removing papers. The terminology for these is <code>push()</code> for adding on to the stack, and <code>pop()</code> for removing from the stack. In a stack, you will still have your basic array commands. Its kind of like if you have a class called MyStack that inherits from MyArray. In the end, the only advantage for a stack versus an array is that a stack gives you the ability to remove from the last item in the stack. Our challenge to you is to create a program that takes use of a stack at least once. Email it to us at <a href='mailto:codedojoofficial@gmail.com'>codedojoofficial@gmail.com</a> with the source code. Don't worry, we can compile C++ and Java.</p>
<p style="color: #AAA; text-align: right;">Last updated: June 14, 2018</p>
</div>
</div>
<div class="footer">
<a href="https://codepen.io/CodeDojo"><img src="/image/codepen.png" width="20" height="20"> CodePen</img></a> • <a href="https://github.com/CodeDojoOfficial"><img src="/image/github.png" width="20" height="20"></img> GitHub</a><br><br>
<font style="color:rgba(255, 255, 255, .3)">Copyright © 2018 by CodeDojo. All rights reserved.</font>
</div>
<script>
// Initialize Firebase
let config = {
apiKey: "AIzaSyAD-9OZYS6P8EyCmYfWUuV08-6DR8QPlHU",
authDomain: "codedojo-site.firebaseapp.com",
databaseURL: "https://codedojo-site.firebaseio.com",
projectId: "codedojo-site",
storageBucket: "",
messagingSenderId: "414964520219"
};
firebase.initializeApp(config);
</script>
</body>
</html>