Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="description" content="Page not found – LearnSphere. The page you are looking for does not exist.">
<meta name="robots" content="noindex, nofollow">
<title>404 – Page Not Found | LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
:root {
--color-bg-start: #0d0d0d;
Expand Down
4 changes: 3 additions & 1 deletion PhotoSynthesis/PhotoSynthesisQuiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Photosynthesis Quiz</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
Expand Down Expand Up @@ -154,7 +156,7 @@
</style>
</head>
<body class="dark-mode">
<button class="theme-toggle" onclick="toggleTheme()">🌗 Toggle Theme</button>
<button class="theme-toggle" onclick="toggleTheme()" id="themeToggleBtn" aria-label="Toggle theme"></button>
<h1>🧪 Photosynthesis Quiz</h1>

<form id="quizForm">
Expand Down
4 changes: 3 additions & 1 deletion PhotoSynthesis/PhotosynthesisLightAbsorptionSpectrum.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Photosynthesis Light Absorption Spectrum Simulator</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
:root {
--chlorophyll-a: #4CAF50;
Expand Down Expand Up @@ -197,7 +199,7 @@
</style>
</head>
<body class="dark-mode">
<button class="theme-toggle" onclick="toggleTheme()">🌗 Toggle Theme</button>
<button class="theme-toggle" onclick="toggleTheme()" id="themeToggleBtn" aria-label="Toggle theme"></button>
<header>
<h1>Photosynthesis Light Absorption Spectrum Simulator</h1>
<p>Explore how plants absorb different wavelengths of light for photosynthesis</p>
Expand Down
4 changes: 3 additions & 1 deletion PhotoSynthesis/Photosynthesistheory.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Theory – Photosynthesis Simulator</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
Expand Down Expand Up @@ -86,7 +88,7 @@
</style>
</head>
<body class="dark-mode">
<button class="theme-toggle" onclick="toggleTheme()">🌗 Toggle Theme</button>
<button class="theme-toggle" onclick="toggleTheme()" id="themeToggleBtn" aria-label="Toggle theme"></button>
<h1>Understanding Photosynthesis and the Simulator</h1>

<div class="section">
Expand Down
2 changes: 2 additions & 0 deletions Predator_Prey_Population_Dynamics/Predator_Prey.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Predator-Prey Dynamics Simulation</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
:root {
Expand Down
4 changes: 3 additions & 1 deletion Predator_Prey_Population_Dynamics/PreyPredatorQuiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Predator-Prey Quiz</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
Expand Down Expand Up @@ -156,7 +158,7 @@
</style>
</head>
<body class="dark-mode">
<button class="theme-toggle" onclick="toggleTheme()">🌗 Toggle Theme</button>
<button class="theme-toggle" onclick="toggleTheme()" id="themeToggleBtn" aria-label="Toggle theme"></button>
<h1>🦊 Predator-Prey Quiz</h1>

<form id="quizForm">
Expand Down
2 changes: 2 additions & 0 deletions Predator_Prey_Population_Dynamics/PreyPredatortheory.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lotka-Volterra Theory</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
Expand Down
4 changes: 3 additions & 1 deletion atomic_structure/atomic.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<meta name="description" content="Interactive Atomic Structure and Periodic Trends learning module with theory, animation, formulas, quizzes, and activities." />

<title>Atomic Structure & Periodic Trends | LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>

<!-- External CSS -->
<link rel="stylesheet" href="atomic.css" />
Expand All @@ -17,7 +19,7 @@
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>

<body onload="loadTheme()">
<body >

<main class="container">

Expand Down
2 changes: 2 additions & 0 deletions calculus/calculus.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
content="Interactive Calculus learning platform covering limits, derivatives, integrals, animations, theory, formulas, quizzes, and simulations." />

<title>Calculus – Limits, Derivatives & Integrals | LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>

<!-- CSS -->
<link rel="stylesheet" href="calculus.css" />
Expand Down
13 changes: 6 additions & 7 deletions chemical_bonding/chemical_bonding.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
</head>

<body onload="loadTheme()">
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script></head>

<body >

<!-- Dark Mode Toggle -->
<button
class="dark-toggle"
onclick="toggleDarkMode()"
aria-label="Toggle Dark Mode">

🌙 Dark Mode
</button>
id="themeToggleBtn" class="dark-toggle"
aria-label="Toggle Dark Mode" id="themeToggleBtn" aria-label="Toggle theme" aria-label="Toggle theme"></button>

<!-- Main Container -->
<main class="container">
Expand Down
10 changes: 2 additions & 8 deletions chemical_bonding/chemical_bonding.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,9 @@ function submitFeedback() {
}
}

function toggleDarkMode() {
document.body.classList.toggle("dark-mode");
localStorage.setItem("darkMode", document.body.classList.contains("dark-mode"));
}
/* Unified Theme Manager overrides */

function loadTheme() {
if (localStorage.getItem("darkMode") === "true") {
document.body.classList.add("dark-mode");
}
/* Unified Theme Manager overrides */
}

const canvas = document.getElementById('moleculeCanvas');
Expand Down
2 changes: 2 additions & 0 deletions chemistryquiz/atomic_structurequiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Physics Motion Quiz - LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="atomic_structurequiz.css">
</head>

Expand Down
2 changes: 2 additions & 0 deletions chemistryquiz/chemical_bondingquiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Physics Motion Quiz - LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="chemical_bondingquiz.css">
</head>

Expand Down
2 changes: 2 additions & 0 deletions chemistryquiz/equilibriumquiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Physics Motion Quiz - LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="equilibriumquiz.css">
</head>

Expand Down
2 changes: 2 additions & 0 deletions chemistryquiz/thermoquiz.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Physics Motion Quiz - LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="thermoquiz.css">
</head>

Expand Down
26 changes: 23 additions & 3 deletions community.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,39 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Join the LearnSphere community — connect with learners and educators in our discussion forum.">
<title>Community – LearnSphere</title>
<link rel="stylesheet" href="variables.css">
<script src="theme.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<header class="navbar">
<div class="logo"><a href="index.html">LearnSphere</a></div>
<nav>
<header class="navbar" role="banner">
<div class="logo"><a href="index.html" aria-label="LearnSphere Home">LearnSphere</a></div>

<!-- Hamburger button — visible only on mobile -->
<button
class="hamburger"
id="hamburgerBtn"
aria-label="Toggle navigation menu"
aria-expanded="false"
aria-controls="navMenu"
>
<span></span>
<span></span>
<span></span>
</button>

<nav id="navMenu" role="navigation" aria-label="Main navigation">
<ul>
<li><a href="explore.html">Explore</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="resources.html">Resources</a></li>
<li><a href="community.html">Community</a></li>
</ul>
</nav>

<button id="themeToggleBtn" class="theme-btn" aria-label="Toggle theme"></button>

<div class="buttons">
<button class="login"><a href="log/login.html">Log in</a></button>
<button class="signup"><a href="log/register.html">Sign up</a></button>
Expand All @@ -41,6 +60,7 @@ <h2>Why LearnSphere?</h2>
<button class="cta">Start Learning</button>
</section>

<script src="navbar.js"></script>
<script src="script.js"></script>
</body>
</html>
26 changes: 23 additions & 3 deletions courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,39 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Browse LearnSphere's courses in Physics, Maths, Chemistry, and Biology.">
<title>Courses – LearnSphere</title>
<link rel="stylesheet" href="variables.css">
<script src="theme.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<header class="navbar">
<div class="logo"><a href="index.html">LearnSphere</a></div>
<nav>
<header class="navbar" role="banner">
<div class="logo"><a href="index.html" aria-label="LearnSphere Home">LearnSphere</a></div>

<!-- Hamburger button — visible only on mobile -->
<button
class="hamburger"
id="hamburgerBtn"
aria-label="Toggle navigation menu"
aria-expanded="false"
aria-controls="navMenu"
>
<span></span>
<span></span>
<span></span>
</button>

<nav id="navMenu" role="navigation" aria-label="Main navigation">
<ul>
<li><a href="explore.html">Explore</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="resources.html">Resources</a></li>
<li><a href="community.html">Community</a></li>
</ul>
</nav>

<button id="themeToggleBtn" class="theme-btn" aria-label="Toggle theme"></button>

<div class="buttons">
<button class="login"><a href="log/login.html">Log in</a></button>
<button class="signup"><a href="log/register.html">Sign up</a></button>
Expand All @@ -40,6 +59,7 @@ <h2>Why LearnSphere?</h2>
<button class="cta">Start Learning</button>
</section>

<script src="navbar.js"></script>
<script src="script.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions equilibrium/equilibrium.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chemical Equilibrium & Le Chatelier’s Principle - LearnSphere</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="equilibrium.css" />
</head>

Expand Down
26 changes: 23 additions & 3 deletions explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,39 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Learners - LearnSphere</title>
<link rel="stylesheet" href="variables.css">
<script src="theme.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>

<header class="navbar">
<div class="logo"><a href="index.html">LearnSphere</a></div>
<nav>
<header class="navbar" role="banner">
<div class="logo"><a href="index.html" aria-label="LearnSphere Home">LearnSphere</a></div>

<!-- Hamburger button — visible only on mobile -->
<button
class="hamburger"
id="hamburgerBtn"
aria-label="Toggle navigation menu"
aria-expanded="false"
aria-controls="navMenu"
>
<span></span>
<span></span>
<span></span>
</button>

<nav id="navMenu" role="navigation" aria-label="Main navigation">
<ul>
<li><a href="explore.html">Explore</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="resources.html">Resources</a></li>
<li><a href="community.html">Community</a></li>
</ul>
</nav>

<button id="themeToggleBtn" class="theme-btn" aria-label="Toggle theme"></button>

<div class="buttons">
<button class="login"><a href="log/login.html">Log in</a></button>
<button class="signup"><a href="log/register.html">Sign up</a></button>
Expand All @@ -40,6 +59,7 @@ <h2>Why LearnSphere?</h2>
<button class="cta">Start Learning</button>
</section>

<script src="navbar.js"></script>
<script src="script.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions geometry/geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coordinate Geometry & Conic Sections</title>
<link rel="stylesheet" href="../variables.css">
<script src="../theme.js"></script>
<link rel="stylesheet" href="geometry.css" />
</head>

Expand Down
Loading
Loading