lonestar108's picture
Failed to load resource: the server responded with a status of 500 ()Understand this error
4b421bf verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MagneTastic 3000 - Tutorial</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="max-w-3xl mx-auto">
<h1 class="text-3xl font-bold mb-6">Magnetic Field Tutorial</h1>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg mb-6">
<h2 class="text-2xl font-semibold mb-4">Getting Started</h2>
<ol class="space-y-4 list-decimal pl-5">
<li>Drag the magnets around the canvas to reposition them</li>
<li>Use the control panel to adjust the number of magnets and their strength</li>
<li>Observe how the field lines change in real-time</li>
<li>Click "Reset Simulation" to return to default settings</li>
</ol>
</div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg mb-6">
<h2 class="text-2xl font-semibold mb-4">Understanding the Visualization</h2>
<div class="grid md:grid-cols-2 gap-4">
<div>
<h3 class="text-lg font-medium mb-2 text-primary-500">Field Lines</h3>
<p>The green lines represent the magnetic field, showing the direction and strength of the field.</p>
</div>
<div>
<h3 class="text-lg font-medium mb-2 text-red-500">Polarity</h3>
<p>Red magnets (N) and blue magnets (S) show opposite polarities that attract each other.</p>
</div>
</div>
</div>
</div>
</main>
<script src="components/navbar.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>