Spaces:
Running
Running
Please make a website for learning Japanese that is interactive with lots of animations that make it easy and not boring quickly using HTML, CSS, JS code.
9e01f6f verified Download lessons.html from RefreshBytes/nihongo-ninja-dojo: direct link, hf CLI and curl.
- Browser
- Download file 5.03 kB
-
https://huggingface.co/spaces/RefreshBytes/nihongo-ninja-dojo/resolve/main/lessons.html
- Command line
-
hf download hf://spaces/RefreshBytes/nihongo-ninja-dojo/lessons.html
-
curl -L -o lessons.html https://huggingface.co/spaces/RefreshBytes/nihongo-ninja-dojo/resolve/main/lessons.html
5.03 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Japanese Lessons - Nihongo Ninja Dojo</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="min-h-screen flex flex-col bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="flex-grow pt-20"> | |
| <div class="container mx-auto px-4 py-12"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-center mb-4 text-gray-800"> | |
| Japanese Lessons | |
| </h1> | |
| <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto"> | |
| Master Japanese step by step with interactive lessons, animations, and real-time feedback. | |
| </p> | |
| <!-- Lesson Progress --> | |
| <div class="max-w-4xl mx-auto mb-12"> | |
| <div class="bg-white rounded-2xl shadow-lg p-8"> | |
| <h2 class="text-2xl font-bold mb-6 text-gray-800">Your Progress</h2> | |
| <div class="flex items-center justify-between mb-4"> | |
| <span class="text-gray-600">JLPT N5 Level</span> | |
| <span class="text-fuchsia-500 font-bold">25% Complete</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-4"> | |
| <div class="progress-fill bg-fuchsia-500 h-4 rounded-full" style="width: 25%"></div> | |
| </div> | |
| </div> | |
| <!-- Lessons Grid --> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto"> | |
| <!-- Lesson 1 --> | |
| <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300"> | |
| <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center"> | |
| <i data-feather="a" class="text-fuchsia-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-gray-800">Hiragana Basics</h3> | |
| <p class="text-gray-600 mb-4">Learn the first Japanese alphabet with fun animations.</p> | |
| <button class="w-full bg-fuchsia-500 hover:bg-fuchsia-600 text-white py-3 rounded-lg font-bold transition-all duration-300 transform hover:scale-105" onclick="startLesson(1)"> | |
| <i data-feather="play" class="inline mr-2"></i>Start Lesson | |
| </button> | |
| </div> | |
| <!-- Lesson 2 --> | |
| <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300"> | |
| <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center"> | |
| <i data-feather="book" class="text-fuchsia-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-gray-800">Greetings</h3> | |
| <p class="text-gray-600 mb-4">Master essential Japanese greetings and polite expressions.</p> | |
| <button class="w-full bg-gray-300 text-gray-600 py-3 rounded-lg font-bold cursor-not-allowed"> | |
| <i data-feather="lock" class="inline mr-2"></i>Locked | |
| </button> | |
| </div> | |
| <!-- Lesson 3 --> | |
| <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300"> | |
| <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center"> | |
| <i data-feather="users" class="text-fuchsia-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-gray-800">Numbers 1-10</h3> | |
| <p class="text-gray-600 mb-4">Count like a native with interactive number games.</p> | |
| <button class="w-full bg-gray-300 text-gray-600 py-3 rounded-lg font-bold cursor-not-allowed"> | |
| <i data-feather="lock" class="inline mr-2"></i>Locked | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| function startLesson(lessonId) { | |
| // Show loading animation | |
| const button = event.target; | |
| const originalText = button.innerHTML; | |
| button.innerHTML = '<div class="loading-dots">Starting</div>'; | |
| setTimeout(() => { | |
| window.location.href = `/lesson-${lessonId}.html`; | |
| }, 1500); | |
| } | |
| </script> | |
| </body> | |
| </html> |