Download index.html from Design-28/step-1-3: direct link, hf CLI and curl.
- Browser
- Download file 24.4 kB
-
https://huggingface.co/spaces/Design-28/step-1-3/resolve/main/index.html
- Command line
-
hf download hf://spaces/Design-28/step-1-3/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Design-28/step-1-3/resolve/main/index.html
24.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Syllabus Solver - Study Plan</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Helvetica:wght@400;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #F9FAFC; | |
| color: #1E1E2F; | |
| } | |
| h1, h2, h3 { | |
| font-family: 'Helvetica', sans-serif; | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #CABDFF 0%, #A6C8FF 100%); | |
| } | |
| .gradient-text { | |
| background: linear-gradient(135deg, #CABDFF 0%, #A6C8FF 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .neumorphism { | |
| box-shadow: 8px 8px 16px #e1e5eb, -8px -8px 16px #ffffff; | |
| } | |
| .card-shadow { | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| border-radius: 4px; | |
| background-color: #E5E7EB; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| border-radius: 4px; | |
| background: linear-gradient(135deg, #CABDFF 0%, #A6C8FF 100%); | |
| transition: width 0.3s ease; | |
| } | |
| .toggle-checkbox:checked { | |
| right: 0; | |
| border-color: #A6C8FF; | |
| } | |
| .toggle-checkbox:checked + .toggle-label { | |
| background-color: #A6C8FF; | |
| } | |
| .topic-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen"> | |
| <!-- Header --> | |
| <header class="sticky top-0 z-10 bg-white shadow-sm"> | |
| <div class="container mx-auto px-4 py-4"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4"> | |
| <div> | |
| <h1 class="text-2xl md:text-3xl font-bold">Your Personalized Study Plan</h1> | |
| <div class="flex items-center mt-2"> | |
| <span class="text-gray-600 mr-2">Progress:</span> | |
| <span class="font-medium">4 of 10 Topics Completed</span> | |
| </div> | |
| </div> | |
| <div class="progress-bar w-full md:w-64"> | |
| <div class="progress-fill" style="width: 40%"></div> | |
| </div> | |
| <div class="flex space-x-2 overflow-x-auto pb-2 md:pb-0"> | |
| <button class="px-4 py-2 bg-gradient-to-r from-[#CABDFF] to-[#A6C8FF] text-white rounded-full font-medium whitespace-nowrap">Today</button> | |
| <button class="px-4 py-2 bg-white border border-gray-200 rounded-full font-medium whitespace-nowrap">All Topics</button> | |
| <button class="px-4 py-2 bg-white border border-gray-200 rounded-full font-medium whitespace-nowrap">Pending</button> | |
| <button class="px-4 py-2 bg-white border border-gray-200 rounded-full font-medium whitespace-nowrap">Completed</button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Day 1 Section --> | |
| <section class="mb-12 fade-in"> | |
| <div class="flex items-center mb-6"> | |
| <div class="gradient-bg w-2 h-8 rounded-full mr-3"></div> | |
| <h2 class="text-2xl font-bold">Day 1</h2> | |
| <span class="ml-auto text-gray-500">Today</span> | |
| </div> | |
| <!-- Topic Card 1 --> | |
| <div class="topic-card bg-white rounded-xl p-6 mb-6 card-shadow transition-all duration-300"> | |
| <div class="flex flex-wrap items-center justify-between mb-4"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-green-500 mr-3"></div> | |
| <h3 class="text-xl font-bold">Integration Techniques</h3> | |
| </div> | |
| <div class="flex items-center space-x-4 mt-2 md:mt-0"> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 rounded-full text-sm font-medium">In Progress</span> | |
| <div class="relative inline-block w-10 mr-2 align-middle select-none"> | |
| <input type="checkbox" id="toggle1" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"/> | |
| <label for="toggle1" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label> | |
| </div> | |
| <label for="toggle1" class="text-gray-600">Mark as Done</label> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Video Section --> | |
| <div class="lg:col-span-2"> | |
| <div class="flex items-center mb-3"> | |
| <span class="text-xl mr-2">🎥</span> | |
| <h4 class="font-medium">Recommended Video</h4> | |
| </div> | |
| <div class="aspect-w-16 aspect-h-9 bg-gray-100 rounded-lg overflow-hidden"> | |
| <iframe class="w-full h-64 md:h-80" src="https://www.youtube.com/embed/WV9JqZ4qGGk" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| </div> | |
| <p class="mt-2 text-gray-600">Source: Professor Leonard - Integration by Parts</p> | |
| </div> | |
| <!-- Notes Section --> | |
| <div> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="flex items-center"> | |
| <span class="text-xl mr-2">📄</span> | |
| <h4 class="font-medium">AI-Summarized Notes</h4> | |
| </div> | |
| <button class="text-sm text-[#A6C8FF] font-medium">Download</button> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg h-64 md:h-80 overflow-y-auto"> | |
| <h5 class="font-bold mb-2">Key Concepts:</h5> | |
| <ul class="list-disc pl-5 space-y-1 text-gray-700"> | |
| <li>Integration by parts formula: ∫u dv = uv - ∫v du</li> | |
| <li>Choose u using LIATE rule (Logs, Inverse trig, Algebraic, Trig, Exponential)</li> | |
| <li>Tabular method for repeated integration by parts</li> | |
| <li>Common applications: integrals of ln(x), x sin(x), etc.</li> | |
| </ul> | |
| <h5 class="font-bold mt-3 mb-2">Example Problem:</h5> | |
| <p class="text-gray-700">∫x eˣ dx = x eˣ - eˣ + C (let u = x, dv = eˣ dx)</p> | |
| <h5 class="font-bold mt-3 mb-2">Common Mistakes:</h5> | |
| <p class="text-gray-700">Forgetting the minus sign in the formula or choosing u and dv incorrectly.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quiz and AI Tip --> | |
| <div class="mt-6 grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <button class="gradient-bg text-white px-6 py-3 rounded-lg font-medium flex items-center justify-center hover:shadow-md transition-all"> | |
| <span class="mr-2">🧠</span> Take Quiz (3 Questions) | |
| </button> | |
| <div class="bg-blue-50 p-4 rounded-lg border border-blue-100"> | |
| <div class="flex items-start"> | |
| <span class="text-blue-500 mr-2">💡</span> | |
| <div> | |
| <h4 class="font-medium text-blue-800">AI Tip</h4> | |
| <p class="text-blue-700 text-sm">Having trouble with Integration by Parts? Try watching this alternative explanation from Khan Academy first.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Topic Card 2 --> | |
| <div class="topic-card bg-white rounded-xl p-6 mb-6 card-shadow transition-all duration-300"> | |
| <div class="flex flex-wrap items-center justify-between mb-4"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-yellow-500 mr-3"></div> | |
| <h3 class="text-xl font-bold">Trigonometric Substitution</h3> | |
| </div> | |
| <div class="flex items-center space-x-4 mt-2 md:mt-0"> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium">Pending</span> | |
| <div class="relative inline-block w-10 mr-2 align-middle select-none"> | |
| <input type="checkbox" id="toggle2" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"/> | |
| <label for="toggle2" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label> | |
| </div> | |
| <label for="toggle2" class="text-gray-600">Mark as Done</label> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Video Section --> | |
| <div class="lg:col-span-2"> | |
| <div class="flex items-center mb-3"> | |
| <span class="text-xl mr-2">🎥</span> | |
| <h4 class="font-medium">Recommended Video</h4> | |
| </div> | |
| <div class="aspect-w-16 aspect-h-9 bg-gray-100 rounded-lg overflow-hidden"> | |
| <img src="https://i.ytimg.com/vi/ocgjf5CWZ4g/maxresdefault.jpg" alt="Trigonometric Substitution" class="w-full h-64 md:h-80 object-cover"> | |
| </div> | |
| <p class="mt-2 text-gray-600">Source: NancyPi - Trigonometric Substitution Explained</p> | |
| </div> | |
| <!-- Notes Section --> | |
| <div> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="flex items-center"> | |
| <span class="text-xl mr-2">📄</span> | |
| <h4 class="font-medium">AI-Summarized Notes</h4> | |
| </div> | |
| <button class="text-sm text-[#A6C8FF] font-medium">Download</button> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg h-64 md:h-80 overflow-y-auto"> | |
| <h5 class="font-bold mb-2">Key Concepts:</h5> | |
| <ul class="list-disc pl-5 space-y-1 text-gray-700"> | |
| <li>Used for integrals containing √(a² - x²), √(a² + x²), or √(x² - a²)</li> | |
| <li>Three main cases with corresponding substitutions</li> | |
| <li>Remember to convert back to original variable at the end</li> | |
| <li>Often combined with trigonometric identities</li> | |
| </ul> | |
| <h5 class="font-bold mt-3 mb-2">Example Problem:</h5> | |
| <p class="text-gray-700">∫dx/√(x² + 9) = ln|x + √(x² + 9)| + C (use x = 3tanθ)</p> | |
| <h5 class="font-bold mt-3 mb-2">Common Mistakes:</h5> | |
| <p class="text-gray-700">Forgetting the differential (dx) substitution or misapplying the trigonometric identities.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quiz Button --> | |
| <div class="mt-6"> | |
| <button class="gradient-bg text-white px-6 py-3 rounded-lg font-medium flex items-center justify-center hover:shadow-md transition-all"> | |
| <span class="mr-2">🧠</span> Take Quiz (4 Questions) | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Day 2 Section --> | |
| <section class="mb-12 fade-in"> | |
| <div class="flex items-center mb-6"> | |
| <div class="gradient-bg w-2 h-8 rounded-full mr-3"></div> | |
| <h2 class="text-2xl font-bold">Day 2</h2> | |
| <span class="ml-auto text-gray-500">Tomorrow</span> | |
| </div> | |
| <!-- Topic Card 3 --> | |
| <div class="topic-card bg-white rounded-xl p-6 mb-6 card-shadow transition-all duration-300"> | |
| <div class="flex flex-wrap items-center justify-between mb-4"> | |
| <div class="flex items-center"> | |
| <div class="w-3 h-3 rounded-full bg-gray-300 mr-3"></div> | |
| <h3 class="text-xl font-bold">Partial Fractions</h3> | |
| </div> | |
| <div class="flex items-center space-x-4 mt-2 md:mt-0"> | |
| <span class="px-3 py-1 bg-gray-100 text-gray-800 rounded-full text-sm font-medium">Upcoming</span> | |
| <div class="relative inline-block w-10 mr-2 align-middle select-none"> | |
| <input type="checkbox" id="toggle3" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer" disabled/> | |
| <label for="toggle3" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-200 cursor-pointer"></label> | |
| </div> | |
| <label for="toggle3" class="text-gray-400">Mark as Done</label> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Video Section --> | |
| <div class="lg:col-span-2"> | |
| <div class="flex items-center mb-3"> | |
| <span class="text-xl mr-2">🎥</span> | |
| <h4 class="font-medium">Recommended Video</h4> | |
| </div> | |
| <div class="aspect-w-16 aspect-h-9 bg-gray-100 rounded-lg overflow-hidden"> | |
| <img src="https://i.ytimg.com/vi/2j5Ic2V7wq4/maxresdefault.jpg" alt="Partial Fractions" class="w-full h-64 md:h-80 object-cover"> | |
| </div> | |
| <p class="mt-2 text-gray-600">Source: Organic Chemistry Tutor - Partial Fraction Decomposition</p> | |
| </div> | |
| <!-- Notes Section --> | |
| <div> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="flex items-center"> | |
| <span class="text-xl mr-2">📄</span> | |
| <h4 class="font-medium">AI-Summarized Notes</h4> | |
| </div> | |
| <button class="text-sm text-gray-400 font-medium" disabled>Download</button> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg h-64 md:h-80 overflow-y-auto text-gray-400"> | |
| <p>Notes will be available when this topic becomes active.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quiz Button --> | |
| <div class="mt-6"> | |
| <button class="bg-gray-200 text-gray-500 px-6 py-3 rounded-lg font-medium flex items-center justify-center cursor-not-allowed" disabled> | |
| <span class="mr-2">🧠</span> Take Quiz (Coming Soon) | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Download All Button --> | |
| <div class="flex justify-center mt-8"> | |
| <button class="gradient-bg text-white px-8 py-3 rounded-full font-medium flex items-center hover:shadow-lg transition-all"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" /> | |
| </svg> | |
| Download All Notes (PDF) | |
| </button> | |
| </div> | |
| </main> | |
| <!-- Quiz Modal (Hidden by default) --> | |
| <div id="quizModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 max-w-2xl w-full mx-4 max-h-[90vh] overflow-y-auto"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold">Integration Techniques Quiz</h3> | |
| <button id="closeQuiz" class="text-gray-500 hover:text-gray-700"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> | |
| </svg> | |
| </button> | |
| </div> | |
| <div class="space-y-6"> | |
| <!-- Question 1 --> | |
| <div class="bg-gray-50 p-5 rounded-lg"> | |
| <h4 class="font-medium mb-3">1. What is the correct application of integration by parts for ∫x cos(x) dx?</h4> | |
| <div class="space-y-2"> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q1a" name="q1" class="mr-3"> | |
| <label for="q1a">A. u = x, dv = cos(x) dx</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q1b" name="q1" class="mr-3"> | |
| <label for="q1b">B. u = cos(x), dv = x dx</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q1c" name="q1" class="mr-3"> | |
| <label for="q1c">C. u = x cos(x), dv = dx</label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Question 2 --> | |
| <div class="bg-gray-50 p-5 rounded-lg"> | |
| <h4 class="font-medium mb-3">2. Which of these integrals would require trigonometric substitution?</h4> | |
| <div class="space-y-2"> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q2a" name="q2" class="mr-3"> | |
| <label for="q2a">A. ∫√(9 - x²) dx</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q2b" name="q2" class="mr-3"> | |
| <label for="q2b">B. ∫x eˣ dx</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q2c" name="q2" class="mr-3"> | |
| <label for="q2c">C. ∫(x + 1)² dx</label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Question 3 --> | |
| <div class="bg-gray-50 p-5 rounded-lg"> | |
| <h4 class="font-medium mb-3">3. What is the result of ∫ln(x) dx using integration by parts?</h4> | |
| <div class="space-y-2"> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q3a" name="q3" class="mr-3"> | |
| <label for="q3a">A. x ln(x) - x + C</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q3b" name="q3" class="mr-3"> | |
| <label for="q3b">B. ln(x) - x + C</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="radio" id="q3c" name="q3" class="mr-3"> | |
| <label for="q3c">C. 1/x + C</label> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 flex justify-center"> | |
| <button class="gradient-bg text-white px-8 py-3 rounded-full font-medium hover:shadow-md transition-all"> | |
| Submit Quiz | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Simple script to handle quiz modal | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Get all quiz buttons | |
| const quizButtons = document.querySelectorAll('button:has(> span:contains("🧠")):not([disabled])'); | |
| const quizModal = document.getElementById('quizModal'); | |
| const closeQuiz = document.getElementById('closeQuiz'); | |
| // Add click event to all quiz buttons | |
| quizButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| quizModal.classList.remove('hidden'); | |
| }); | |
| }); | |
| // Close modal | |
| closeQuiz.addEventListener('click', function() { | |
| quizModal.classList.add('hidden'); | |
| }); | |
| // Close modal when clicking outside | |
| quizModal.addEventListener('click', function(e) { | |
| if (e.target === quizModal) { | |
| quizModal.classList.add('hidden'); | |
| } | |
| }); | |
| // Toggle switch functionality | |
| const toggleSwitches = document.querySelectorAll('.toggle-checkbox:not([disabled])'); | |
| toggleSwitches.forEach(switchEl => { | |
| switchEl.addEventListener('change', function() { | |
| const label = this.nextElementSibling; | |
| if (this.checked) { | |
| label.classList.remove('bg-gray-300'); | |
| label.classList.add('bg-[#A6C8FF]'); | |
| } else { | |
| label.classList.add('bg-gray-300'); | |
| label.classList.remove('bg-[#A6C8FF]'); | |
| } | |
| }); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Design-28/step-1-3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |