Skip to content

Commit c1ddff7

Browse files
committed
Push new Java Stuffs
1 parent f1ca17a commit c1ddff7

4 files changed

Lines changed: 643 additions & 8 deletions

File tree

Programming/Programming-Index.html

Lines changed: 136 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424

2525
<img src="../Assests/logo.jpg" style="width:45%;" class="w3-round"><br><br>
2626
<h4><b>Welcome to FRCsource</b></h4>
27-
<p class="w3-text-grey">For all your scouting and programming needs</p>
27+
<p class="w3-text-grey">For all your Programming needs</p>
2828
</div>
2929

3030
<div class="w3-bar-block">
3131
<a href="../index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-th-large fa-fw w3-margin-right"></i>Home</a>
3232
<a href="../index.html#about" onclick="w3_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-user fa-fw w3-margin-right"></i>About</a>
33-
<a href="Programming-Index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding w3-text-teal"><i class="fa fa-th-large fa-fw w3-margin-right"></i>Programming Index</a>
34-
<a href="../Scouting/Scouting-Index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-user fa-fw w3-margin-right"></i>Scouting Index</a>
33+
<a href="../Programming/Programming-Index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding w3-text-teal"><i class="fa fa-th-large fa-fw w3-margin-right"></i>Programming Index</a>
34+
<a href="Scouting-Index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-user fa-fw w3-margin-right"></i>Scouting Index</a>
3535
<a href="../FRCsource/FRCsource-Index.html" onclick="w3_close()" class="w3-bar-item w3-button w3-padding"><i class="fa fa-envelope fa-fw w3-margin-right"></i>FRCsource Index</a>
3636
</div>
3737

@@ -53,16 +53,144 @@ <h4><b>Welcome to FRCsource</b></h4>
5353
<span class="w3-button w3-hide-large w3-xxlarge w3-hover-text-grey" onclick="w3_open()"><i class="fa fa-bars"></i></span>
5454

5555
<div class="w3-container">
56-
<h1><b>FRCsource: Programming-Index</b></h1>
56+
<h1><b>FRCsource: Scouting-Index</b></h1>
5757
</div>
5858
</header>
5959

6060
<!-- Example main content placeholder -->
6161
<div class="w3-container w3-padding-large" style="margin-bottom:32px">
62-
<h4><b>This contains all articles containing to the Tag of programming or programming related concepts</b></h4>
63-
<p>Such as but not limited to C++, Python, Java, and JavaScript.</p>
64-
</div>
65-
62+
<h4><b>This contains all articles related to the tag of Programming concepts</b></h4>
63+
<p>Programming is an important part of FRC teams' preparation and strategy. This page is mainly dedicated to Programming through the basics of programming for the robot.</p>
64+
<br>
65+
<h3>Programming language Tutorials</h3>
66+
<ul class="w3-ul w3-card-4">
67+
<li class="w3-padding-16">
68+
<span class="w3-large">Java Basics</span><br>
69+
<span>Introduction to Java programming concepts.</span>
70+
<a href="../Programming/tutorals/Java/JavaTutorials1.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
71+
</li>
72+
<li class="w3-padding-16">
73+
<span class="w3-large">Python Basics</span><br>
74+
<span>Introduction to Python programming concepts.</span>
75+
<a href="../Programming/tutorals/Python/PythonTutorials1.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
76+
</li>
77+
<li class="w3-padding-16">
78+
<span class="w3-large">TEMPLATE</span><br>
79+
<span>Introduction to JavaScript programming concepts.</span>
80+
<a href="tutorials/JavaScript/NativeJavascript/JavaScriptTutorials1.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
81+
</li>
82+
<li class="w3-padding-16">
83+
<span class="w3-large">SQLite</span><br>
84+
<span>Introduction to SQLite database concepts.</span>
85+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
86+
</li>
87+
<li class="w3-padding-16">
88+
<span class="w3-large">Python</span><br>
89+
<span>Introduction to Python programming concepts for data visualization and Flask servers.</span>
90+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
91+
</li>
92+
</ul>
93+
94+
<h3>JavaScript Replacements</h3>
95+
<ul class="w3-ul w3-card-4">
96+
<li class="w3-padding-16">
97+
<span class="w3-large">Typescript</span><br>
98+
<span>Introduction to Typescript programming concepts to replace JavaScript.</span>
99+
<br><span style="color:#888;font-size:0.95em;">understanding of JavaScript needed</span><br>
100+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
101+
</li>
102+
<li class="w3-padding-16">
103+
<span class="w3-large">CoffeeScript</span><br>
104+
<span>Introduction to CoffeeScript programming concepts to compile into JavaScript.</span>
105+
<br><span style="color:#888;font-size:0.95em;">understanding of JavaScript needed</span><br>
106+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
107+
</li>
108+
<li class="w3-padding-16">
109+
<span class="w3-large">Dart</span><br>
110+
<span>Introduction to Dart programming concepts and compiling Dart to JavaScript for web applications.</span>
111+
<br><span style="color:#888;font-size:0.95em;">understanding of JavaScript/Dart needed</span><br>
112+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
113+
</li>
114+
</ul>
115+
116+
<h3>Building a Full Scouting System</h3>
117+
<ul class="w3-ul w3-card-4">
118+
<li class="w3-padding-16">
119+
<span class="w3-large">From Match to Pick List</span><br>
120+
<span>How raw data turns into alliance selection decisions.</span>
121+
<br><span style="color:#888;font-size:0.95em;">Knowledge of Excel/SQL needed</span><br>
122+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
123+
</li>
124+
</ul>
125+
126+
<h3>Scouting Basics</h3>
127+
<ul class="w3-ul w3-card-4">
128+
<li class="w3-padding-16">
129+
<span class="w3-large">Intro To Game Theory</span><br>
130+
<span>Introduction to game theory concepts for FRC scouting.</span>
131+
<br><span style="color:#888;font-size:0.95em;">Knowledge of logic/math helpful</span><br>
132+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
133+
</li>
134+
<li class="w3-padding-16">
135+
<span class="w3-large">Intro to FRC Scouting</span><br>
136+
<span>Overview of FRC scouting methods and strategies.</span>
137+
<br><span style="color:#888;font-size:0.95em;">Knowledge of FRC rules helpful</span><br>
138+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
139+
</li>
140+
<li class="w3-padding-16">
141+
<span class="w3-large">What Metrics Matter in FRC</span><br>
142+
<span>Choosing meaningful stats instead of collecting everything.</span>
143+
<br><span style="color:#888;font-size:0.95em;">Knowledge of Excel/SQL helpful</span><br>
144+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
145+
</li>
146+
<li class="w3-padding-16">
147+
<span class="w3-large">Super Scout</span><br>
148+
<span>What is Super Scouting/Super Scout?</span>
149+
<br><span style="color:#888;font-size:0.95em;">Knowledge of FRC scouting helpful</span><br>
150+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
151+
</li>
152+
<li class="w3-padding-16">
153+
<span class="w3-large">Other Styles of Scouting Systems</span><br>
154+
<span>Introduction to many scouting systems.</span>
155+
<br><span style="color:#888;font-size:0.95em;">Knowledge of FRC scouting helpful</span><br>
156+
<a class="w3-button w3-small w3-margin-top w3-teal" aria-disabled="true" role="button">Read More</a>
157+
</li>
158+
<li class="w3-padding-16">
159+
<span class="w3-large">Intro to Data Visualization</span><br>
160+
<span>Introduction to data visualization concepts for FRC scouting.</span>
161+
<br><span style="color:#888;font-size:0.95em;">Knowledge of Python-Flask/SQL helpful</span><br>
162+
<a href="Dart-Basics.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
163+
</li>
164+
<li class="w3-padding-16">
165+
<span class="w3-large">Intro CORE Scouting Spider</span><br>
166+
<span>Overview of the CORE scouting spider system.</span>
167+
<br><span style="color:#888;font-size:0.95em;">Knowledge of web dev fullstack /JavaScript helpful</span><br>
168+
<a href="Dart-Basics.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
169+
</li>
170+
<li class="w3-padding-16">
171+
<span class="w3-large">Other Styles of Data Visualization</span><br>
172+
<span>Introduction to different visualization systems.<br>Knowledge of SQL recommended.</span><br>
173+
<br><span style="color:#888;font-size:0.95em;">Knowledge of SQL/Python-Flask helpful</span><br>
174+
<a href="Game-Theory.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
175+
</li>
176+
</ul>
177+
178+
<h3>Other/Misc</h3>
179+
<ul class="w3-ul w3-card-4">
180+
<li class="w3-padding-16">
181+
<span class="w3-large">What Can Go Wrong with Scouting</span><br>
182+
<span>Introduction to different common issues with scouting and how to overcome them.</span>
183+
<br><span style="color:#888;font-size:0.95em;">Knowledge of FRC scouting helpful</span><br>
184+
<a href="Game-Theory.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
185+
</li>
186+
<li class="w3-padding-16">
187+
<span class="w3-large">Offline Scouting</span><br>
188+
<span>How to scout without internet access.</span>
189+
<br><span style="color:#888;font-size:0.95em;">Knowledge of Bluetooth/Excel helpful</span><br>
190+
<a href="Game-Theory.html" class="w3-button w3-small w3-margin-top w3-teal">Read More</a>
191+
</li>
192+
</ul>
193+
</div>
66194
</div>
67195
<footer class="w3-container w3-padding-32 w3-dark-grey">
68196
<div class="w3-row-padding">
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Tutorial Page Template</title>
7+
<link rel="stylesheet" href="https://www.w3schools.com/w3css/5/w3.css">
8+
<style>
9+
/* Sidebar styling */
10+
.sidebar {
11+
height: 100vh;
12+
overflow-y: auto;
13+
position: fixed;
14+
width: 180px;
15+
background-color: #003366;
16+
color: white;
17+
}
18+
.sidebar h3 {
19+
margin-top: 15px;
20+
margin-bottom: 5px;
21+
padding-left: 12px;
22+
color: #ff3333;
23+
font-size: 14px;
24+
}
25+
.sidebar a {
26+
display: block;
27+
padding: 6px 12px;
28+
text-decoration: none;
29+
color: white;
30+
font-size: 13px;
31+
border-radius: 4px;
32+
}
33+
.sidebar a:hover {
34+
background-color: #ff3333;
35+
color: white;
36+
}
37+
38+
/* Main content area */
39+
.main-content {
40+
margin-left: 190px;
41+
padding: 20px;
42+
background-color: white;
43+
color: #000;
44+
transition: background-color 0.3s, color 0.3s;
45+
}
46+
47+
/* Dark mode class */
48+
.darkmode {
49+
background-color: #1e1e1e;
50+
color: #f1f1f1;
51+
}
52+
.darkmode h1,
53+
.darkmode h3 {
54+
color: #ff6666;
55+
}
56+
57+
/* Button */
58+
.darkmode-btn {
59+
background-color: #ff3333;
60+
color: white;
61+
border: none;
62+
padding: 6px 12px;
63+
border-radius: 4px;
64+
cursor: pointer;
65+
margin-bottom: 15px;
66+
font-size: 14px;
67+
}
68+
.darkmode-btn:hover {
69+
background-color: #cc0000;
70+
}
71+
72+
h1 { color: #003366; }
73+
74+
</style>
75+
</head>
76+
<body>
77+
78+
<!-- Sidebar / Navigation -->
79+
<div class="sidebar w3-card">
80+
<h2 class="w3-center w3-padding-12" style="font-size:16px; color:white;">Tutorial Menu</h2>
81+
<h3>Getting Started</h3>
82+
<a href="#intro">Introduction</a>
83+
<a href="#setup">Setup</a>
84+
<h3>Core Concepts</h3>
85+
<a href="#concept1">Concept 1</a>
86+
<a href="#concept2">Concept 2</a>
87+
<h3>Advanced</h3>
88+
<a href="#advanced1">Advanced 1</a>
89+
<a href="#advanced2">Advanced 2</a>
90+
</div>
91+
92+
<!-- Main Content Area -->
93+
<div class="main-content" id="mainContent">
94+
<button class="darkmode-btn" onclick="toggleDarkMode()">Toggle Dark Mode</button>
95+
96+
<h1 id="intro">Getting Started</h1>
97+
<p>these and other tutorals are made via w3schools and documentation. Java is the most common programming language. This tutorial will go over how to write programs in Java then how to incorporate it into HTML to decrease confusion.</p>
98+
99+
<h3>Examples</h3>
100+
<p>In many of the Sections of this tutorial, you will see examples of Java code. These are custom embeds from OnlineGDB, if you want to try to change something just press the fork button.</p>
101+
<script src="//onlinegdb.com/embed/js/LNNpaViGM?theme=light"></script>
102+
103+
104+
</script>
105+
106+
<h1 id="setup">Setup</h1>
107+
<p>This Java tutorial will go over and use the oracle version of Java.</p>
108+
<ol>
109+
<li>Go to the JDK website: <a href="https://www.oracle.com/java/technologies/downloads/" target="_blank">https://www.oracle.com/java/technologies/downloads/</a></li>
110+
<li>Download the LTS version for your operating system</li>
111+
<li>Run the installer and follow the prompts</li>
112+
<li>Open a terminal or command prompt and type <code>java -version</code> to verify the installation</li>
113+
</ol>
114+
115+
<h3 id="concept1">Java Alternatives</h3>
116+
<p>Due to Java's strict syntax, developers often use alternatives like Kotlin or Groovy to enforce stricter typing and improve code maintainability. those alternatives offer enhanced features and better tooling support. currently the Kotlin and Groovy tutorals are currently not made yet so hang on tight</p>
117+
<!-- Navigation Buttons at the Bottom -->
118+
<div style="display:flex; justify-content:space-between; margin-top:40px;">
119+
<button class="w3-button w3-blue" onclick="window.location.href='/Programming/Programming-Index.html'">Back to Programming Index</button>
120+
<button class="w3-button w3-red" onclick="window.location.href='/Programming/tutorals/Java/JavaTutorials2.html'">Next Lesson</button>
121+
</div>
122+
123+
</div>
124+
125+
<script>
126+
const content = document.getElementById('mainContent');
127+
128+
// Apply saved preference or system preference on load
129+
function applyPreference() {
130+
const saved = localStorage.getItem('darkmode');
131+
if (saved === 'true') {
132+
content.classList.add('darkmode');
133+
} else if (saved === 'false') {
134+
content.classList.remove('darkmode');
135+
} else {
136+
// Follow system preference if no saved value
137+
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
138+
content.classList.add('darkmode');
139+
}
140+
}
141+
}
142+
143+
window.onload = applyPreference;
144+
145+
// Toggle dark/light mode and save preference
146+
function toggleDarkMode() {
147+
if (content.classList.contains('darkmode')) {
148+
content.classList.remove('darkmode');
149+
localStorage.setItem('darkmode', 'false');
150+
} else {
151+
content.classList.add('darkmode');
152+
localStorage.setItem('darkmode', 'true');
153+
}
154+
}
155+
</script>
156+
157+
</body>
158+
</html>

0 commit comments

Comments
 (0)