Skip to content
Open
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
89 changes: 89 additions & 0 deletions interactive_ml_guide/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/* Custom styles */
body {
scroll-behavior: smooth;
}

.math-block {
overflow-x: auto;
background-color: #f8fafc;
padding: 1rem;
border-radius: 0.5rem;
border: 1px solid #e2e8f0;
margin: 1rem 0;
}

.canvas-container {
position: relative;
width: 100%;
background-color: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 0.5rem;
box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
overflow: hidden;
}

canvas {
display: block;
width: 100%;
height: 100%;
}

.tab-btn {
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 600;
transition: all 0.2s;
}

.tab-btn:hover {
background-color: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
background-color: white;
color: #4338ca;
}

.prose {
line-height: 1.75;
}

.prose h2 {
font-size: 1.875rem;
font-weight: 700;
margin-top: 2rem;
margin-bottom: 1rem;
color: #1e293b;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 0.5rem;
}

.prose h3 {
font-size: 1.5rem;
font-weight: 600;
margin-top: 1.5rem;
margin-bottom: 0.75rem;
color: #334155;
}

.prose p {
margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
margin-bottom: 1.25rem;
padding-left: 1.5rem;
}

.prose li {
margin-bottom: 0.5rem;
}

.interactive-panel {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 0.5rem;
padding: 1.5rem;
margin: 2rem 0;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
35 changes: 35 additions & 0 deletions interactive_ml_guide/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interactive ML Course: Deep Dive</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="css/style.css">
<!-- MathJax for rendering equations -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body class="bg-slate-50 text-slate-900 font-sans antialiased flex flex-col min-h-screen">
<header class="bg-indigo-700 text-white shadow-md z-10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 flex justify-between items-center">
<h1 class="text-3xl font-extrabold tracking-tight text-white">Interactive ML Guide</h1>
<nav id="nav-tabs" class="flex space-x-4">
<!-- Navigation tabs dynamically rendered -->
</nav>
</div>
</header>

<main class="flex-grow max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10 w-full" id="app-content">
<!-- Content gets injected here -->
</main>

<footer class="bg-slate-800 text-slate-300 py-8 mt-auto">
<div class="max-w-7xl mx-auto px-4 text-center">
<p>&copy; 2026 Interactive ML Guide. Built with Vanilla JS & Tailwind CSS.</p>
</div>
</footer>

<script type="module" src="js/main.js"></script>
</body>
</html>
Loading