Download index.html from KSithara/kdb: direct link, hf CLI and curl.
- Browser
- Download file 35 kB
-
https://huggingface.co/spaces/KSithara/kdb/resolve/main/index.html
- Command line
-
hf download hf://spaces/KSithara/kdb/index.html
-
curl -L -o index.html https://huggingface.co/spaces/KSithara/kdb/resolve/main/index.html
35 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>KD | Pogonatum Life Cycle</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .stage-card { | |
| transition: all 0.3s ease; | |
| transform-style: preserve-3d; | |
| } | |
| .stage-card:hover { | |
| transform: translateY(-5px) scale(1.02); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3); | |
| } | |
| .stage-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: linear-gradient(90deg, #4ade80, #3b82f6); | |
| border-radius: 8px 8px 0 0; | |
| } | |
| .protonema-bg { | |
| background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); | |
| } | |
| .gametophyte-bg { | |
| background: linear-gradient(135deg, #166534 0%, #15803d 100%); | |
| } | |
| .sporophyte-bg { | |
| background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%); | |
| } | |
| .flow-arrow { | |
| position: relative; | |
| } | |
| .flow-arrow::after { | |
| content: '→'; | |
| position: absolute; | |
| right: -30px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| color: #9ca3af; | |
| font-size: 1.5rem; | |
| } | |
| @media (max-width: 768px) { | |
| .flow-arrow::after { | |
| content: '↓'; | |
| right: 50%; | |
| top: 100%; | |
| transform: translateX(50%); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-gray-100 min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="bg-gray-800 shadow-lg"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="flex justify-between items-center py-4"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-seedling text-green-400 text-2xl mr-2"></i> | |
| <span class="font-bold text-xl">KD Biology</span> | |
| </div> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-6"> | |
| <a href="#" class="py-2 px-3 bg-blue-600 rounded-md">Home</a> | |
| <a href="#" class="py-2 px-3 hover:bg-gray-700 rounded-md">Courses</a> | |
| <a href="#" class="py-2 px-3 hover:bg-gray-700 rounded-md">About</a> | |
| <a href="#" class="py-2 px-3 hover:bg-gray-700 rounded-md">Contact</a> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button class="outline-none mobile-menu-button"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div class="hidden mobile-menu bg-gray-800 pb-4"> | |
| <a href="#" class="block py-2 px-4 bg-blue-600 rounded-md mx-2">Home</a> | |
| <a href="#" class="block py-2 px-4 hover:bg-gray-700 rounded-md mx-2 mt-2">Courses</a> | |
| <a href="#" class="block py-2 px-4 hover:bg-gray-700 rounded-md mx-2 mt-2">About</a> | |
| <a href="#" class="block py-2 px-4 hover:bg-gray-700 rounded-md mx-2 mt-2">Contact</a> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <header class="protonema-bg py-16"> | |
| <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h1 class="text-4xl md:text-5xl font-extrabold mb-4">Life Cycle of Pogonatum</h1> | |
| <p class="text-xl md:text-2xl text-blue-100 max-w-3xl mx-auto"> | |
| Understanding the fascinating alternation of generations in this bryophyte | |
| </p> | |
| <div class="mt-8"> | |
| <button class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-full mr-4"> | |
| <i class="fas fa-play mr-2"></i> Watch Video | |
| </button> | |
| <button class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-3 px-6 rounded-full"> | |
| <i class="fas fa-download mr-2"></i> Download PDF | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="max-w-6xl mx-auto px-4 py-12"> | |
| <!-- Introduction --> | |
| <section class="mb-16"> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <h2 class="text-2xl font-bold mb-4 text-green-400">What is Pogonatum?</h2> | |
| <p class="mb-4"> | |
| Pogonatum is a genus of mosses in the family Polytrichaceae. Like all bryophytes, it exhibits an alternation of generations between a haploid gametophyte and a diploid sporophyte. | |
| </p> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-6"> | |
| <div class="bg-gray-700 p-4 rounded-lg flex items-center"> | |
| <div class="bg-green-500 rounded-full p-3 mr-4"> | |
| <i class="fas fa-leaf text-white text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold">Gametophyte Dominant</h3> | |
| <p class="text-sm text-gray-300">Larger and longer-living than sporophyte</p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-700 p-4 rounded-lg flex items-center"> | |
| <div class="bg-blue-500 rounded-full p-3 mr-4"> | |
| <i class="fas fa-venus-mars text-white text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold">Dioecious</h3> | |
| <p class="text-sm text-gray-300">Separate male and female plants</p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-700 p-4 rounded-lg flex items-center"> | |
| <div class="bg-purple-500 rounded-full p-3 mr-4"> | |
| <i class="fas fa-tint text-white text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold">Water Dependent</h3> | |
| <p class="text-sm text-gray-300">Requires water for fertilization</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Life Cycle Stages --> | |
| <section class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Life Cycle Stages</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Stage 1 --> | |
| <div class="stage-card bg-gray-800 rounded-lg shadow-lg p-6 relative overflow-hidden"> | |
| <div class="absolute -right-10 -top-10 w-32 h-32 bg-green-900 opacity-20 rounded-full"></div> | |
| <div class="z-10 relative"> | |
| <div class="w-16 h-16 gametophyte-bg rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-white font-bold text-2xl">1</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-green-300">Gametophyte Generation</h3> | |
| <ul class="space-y-2 text-gray-300"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-400 mt-1 mr-2"></i> | |
| <span>Photosynthetic "plant"</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-400 mt-1 mr-2"></i> | |
| <span>Has stem, leaves, and rhizoids</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-400 mt-1 mr-2"></i> | |
| <span>Dioecious (unisexual)</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Stage 2 --> | |
| <div class="stage-card bg-gray-800 rounded-lg shadow-lg p-6 relative overflow-hidden"> | |
| <div class="absolute -right-10 -top-10 w-32 h-32 bg-blue-900 opacity-20 rounded-full"></div> | |
| <div class="z-10 relative"> | |
| <div class="w-16 h-16 sporophyte-bg rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-white font-bold text-2xl">2</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-blue-300">Fertilization</h3> | |
| <ul class="space-y-2 text-gray-300"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-400 mt-1 mr-2"></i> | |
| <span>Male produces sperm in antheridia</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-400 mt-1 mr-2"></i> | |
| <span>Female produces egg in archegonium</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-blue-400 mt-1 mr-2"></i> | |
| <span>Sperm swims to egg through water</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Stage 3 --> | |
| <div class="stage-card bg-gray-800 rounded-lg shadow-lg p-6 relative overflow-hidden"> | |
| <div class="absolute -right-10 -top-10 w-32 h-32 bg-purple-900 opacity-20 rounded-full"></div> | |
| <div class="z-10 relative"> | |
| <div class="w-16 h-16 protonema-bg rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-white font-bold text-2xl">3</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-purple-300">Sporophyte Generation</h3> | |
| <ul class="space-y-2 text-gray-300"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-purple-400 mt-1 mr-2"></i> | |
| <span>Zygote develops into embryo</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-purple-400 mt-1 mr-2"></i> | |
| <span>Grows into sporophyte (foot, seta, capsule)</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-purple-400 mt-1 mr-2"></i> | |
| <span>Capsule produces spores by meiosis</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Detailed Life Cycle Flow --> | |
| <section class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Detailed Life Cycle Flow</h2> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <div class="grid grid-cols-1 md:grid-cols-11 gap-4 items-center"> | |
| <!-- Protonema --> | |
| <div class="md:col-span-2 flow-arrow"> | |
| <div class="bg-indigo-900 rounded-lg p-4 text-center h-full"> | |
| <div class="w-12 h-12 bg-indigo-700 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <i class="fas fa-spa"></i> | |
| </div> | |
| <h4 class="font-bold">Protonema</h4> | |
| <p class="text-xs mt-1">Filamentous stage from spore</p> | |
| </div> | |
| </div> | |
| <!-- Gametophyte --> | |
| <div class="md:col-span-2 flow-arrow"> | |
| <div class="bg-green-900 rounded-lg p-4 text-center h-full"> | |
| <div class="w-12 h-12 bg-green-700 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <i class="fas fa-leaf"></i> | |
| </div> | |
| <h4 class="font-bold">Gametophyte</h4> | |
| <p class="text-xs mt-1">Dominant generation</p> | |
| </div> | |
| </div> | |
| <!-- Antheridia/Archegonia --> | |
| <div class="md:col-span-2 flow-arrow"> | |
| <div class="bg-blue-900 rounded-lg p-4 text-center h-full"> | |
| <div class="w-12 h-12 bg-blue-700 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <i class="fas fa-venus-mars"></i> | |
| </div> | |
| <h4 class="font-bold">Gametangia</h4> | |
| <p class="text-xs mt-1">Produces sperm/egg</p> | |
| </div> | |
| </div> | |
| <!-- Fertilization --> | |
| <div class="md:col-span-2 flow-arrow"> | |
| <div class="bg-purple-900 rounded-lg p-4 text-center h-full"> | |
| <div class="w-12 h-12 bg-purple-700 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <i class="fas fa-dna"></i> | |
| </div> | |
| <h4 class="font-bold">Fertilization</h4> | |
| <p class="text-xs mt-1">Sperm + egg → zygote</p> | |
| </div> | |
| </div> | |
| <!-- Sporophyte --> | |
| <div class="md:col-span-3"> | |
| <div class="bg-gray-700 rounded-lg p-4 text-center h-full"> | |
| <div class="w-12 h-12 bg-gray-600 rounded-full flex items-center justify-center mx-auto mb-2"> | |
| <i class="fas fa-seedling"></i> | |
| </div> | |
| <h4 class="font-bold">Sporophyte</h4> | |
| <p class="text-xs mt-1">Produces spores in capsule</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cycle completion --> | |
| <div class="mt-8 text-center"> | |
| <div class="inline-flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-indigo-600 flex items-center justify-center"> | |
| <i class="fas fa-arrow-right text-white text-sm"></i> | |
| </div> | |
| <span class="ml-2 text-sm">Cycle repeats when spores germinate into protonema</span> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Key Features --> | |
| <section class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Key Features of Pogonatum Life Cycle</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div class="bg-gray-800 rounded-lg p-6 flex"> | |
| <div class="mr-4"> | |
| <div class="w-12 h-12 bg-yellow-600 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-sun text-white"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2 text-yellow-400">Photosynthetic Gametophyte</h3> | |
| <p class="text-gray-300"> | |
| The gametophyte is the dominant, photosynthetic phase that can live independently. It has stem-like, leaf-like structures and rhizoids for anchorage. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-6 flex"> | |
| <div class="mr-4"> | |
| <div class="w-12 h-12 bg-red-600 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-venus-mars text-white"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2 text-red-400">Dioecious Nature</h3> | |
| <p class="text-gray-300"> | |
| Male and female reproductive structures are on separate plants. Male plants produce flagellated sperm that require water to reach the egg in the archegonium. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-6 flex"> | |
| <div class="mr-4"> | |
| <div class="w-12 h-12 bg-green-600 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-link text-white"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2 text-green-400">Dependent Sporophyte</h3> | |
| <p class="text-gray-300"> | |
| The sporophyte remains attached to and nutritionally dependent on the gametophyte. It consists of foot, seta, and capsule where meiosis occurs to produce spores. | |
| </p> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-6 flex"> | |
| <div class="mr-4"> | |
| <div class="w-12 h-12 bg-blue-600 rounded-full flex items-center justify-center"> | |
| <i class="fas fa-recycle text-white"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2 text-blue-400">Alternation of Generations</h3> | |
| <p class="text-gray-300"> | |
| The life cycle alternates between haploid (gametophyte) and diploid (sporophyte) generations, with the gametophyte being dominant in bryophytes. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Visual Diagram --> | |
| <section class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Visual Diagram</h2> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <div class="text-center mb-6"> | |
| <p class="text-gray-300 max-w-2xl mx-auto"> | |
| Below is a simplified representation of the Pogonatum life cycle. Click on each stage to learn more. | |
| </p> | |
| </div> | |
| <div class="relative"> | |
| <!-- Placeholder for diagram - in a real implementation, this would be an SVG or image --> | |
| <div class="bg-gray-700 rounded-lg p-8 flex items-center justify-center"> | |
| <div class="text-center"> | |
| <i class="fas fa-image text-5xl text-gray-500 mb-4"></i> | |
| <p class="text-gray-400">Interactive Life Cycle Diagram</p> | |
| <button class="mt-4 bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"> | |
| View Full Diagram | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Diagram key points --> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mt-6"> | |
| <div class="bg-green-900 bg-opacity-50 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-green-400 rounded-full mr-2"></div> | |
| <span class="text-sm">Gametophyte</span> | |
| </div> | |
| <div class="bg-blue-900 bg-opacity-50 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-blue-400 rounded-full mr-2"></div> | |
| <span class="text-sm">Gametangia</span> | |
| </div> | |
| <div class="bg-purple-900 bg-opacity-50 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-purple-400 rounded-full mr-2"></div> | |
| <span class="text-sm">Sporophyte</span> | |
| </div> | |
| <div class="bg-indigo-900 bg-opacity-50 p-3 rounded-lg flex items-center"> | |
| <div class="w-3 h-3 bg-indigo-400 rounded-full mr-2"></div> | |
| <span class="text-sm">Protonema</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Quiz Section --> | |
| <section class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Test Your Knowledge</h2> | |
| <div class="bg-gray-800 rounded-xl p-6 shadow-lg"> | |
| <div class="max-w-2xl mx-auto"> | |
| <div id="quiz-container"> | |
| <div class="text-center mb-6"> | |
| <h3 class="text-xl font-bold mb-2">Pogonatum Life Cycle Quiz</h3> | |
| <p class="text-gray-300">Answer these questions to check your understanding</p> | |
| </div> | |
| <div class="space-y-6"> | |
| <!-- Question 1 --> | |
| <div class="quiz-question bg-gray-700 p-4 rounded-lg"> | |
| <h4 class="font-bold mb-3">1. Which generation is dominant in Pogonatum?</h4> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q1" class="mr-2" value="a"> | |
| <span>Sporophyte</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q1" class="mr-2" value="b"> | |
| <span>Gametophyte</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q1" class="mr-2" value="c"> | |
| <span>Both equally</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Question 2 --> | |
| <div class="quiz-question bg-gray-700 p-4 rounded-lg"> | |
| <h4 class="font-bold mb-3">2. What is required for fertilization in Pogonatum?</h4> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q2" class="mr-2" value="a"> | |
| <span>Wind</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q2" class="mr-2" value="b"> | |
| <span>Water</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q2" class="mr-2" value="c"> | |
| <span>Insects</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Question 3 --> | |
| <div class="quiz-question bg-gray-700 p-4 rounded-lg"> | |
| <h4 class="font-bold mb-3">3. Where does meiosis occur in the life cycle?</h4> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q3" class="mr-2" value="a"> | |
| <span>Antheridium</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q3" class="mr-2" value="b"> | |
| <span>Archegonium</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="radio" name="q3" class="mr-2" value="c"> | |
| <span>Capsule</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 text-center"> | |
| <button id="submit-quiz" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-6 rounded"> | |
| Submit Answers | |
| </button> | |
| </div> | |
| </div> | |
| <div id="quiz-results" class="hidden text-center mt-6 p-4 rounded-lg bg-gray-700"> | |
| <h3 class="text-xl font-bold mb-2">Your Results</h3> | |
| <p id="score" class="text-2xl font-bold mb-4">3/3 Correct!</p> | |
| <p id="feedback" class="text-gray-300">Excellent! You understand the Pogonatum life cycle well.</p> | |
| <button id="retake-quiz" class="mt-4 bg-gray-600 hover:bg-gray-500 text-white font-bold py-2 px-4 rounded"> | |
| Try Again | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 pt-12 pb-6"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">KD Biology</h3> | |
| <p class="text-gray-400"> | |
| Making complex biological concepts simple and accessible for everyone. | |
| </p> | |
| <div class="flex space-x-4 mt-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Courses</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Study Guides</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Practice Quizzes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Video Lectures</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Flashcards</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Contact</h3> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-envelope mt-1 mr-2"></i> | |
| <span>contact@kdbio.edu</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-phone-alt mt-1 mr-2"></i> | |
| <span>+1 (555) 123-4567</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-map-marker-alt mt-1 mr-2"></i> | |
| <span>123 Biology Lane, Science City</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-500 text-sm"> | |
| <p>© 2023 KD Biology. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Back to Top Button --> | |
| <button id="back-to-top" class="fixed bottom-6 right-6 bg-blue-600 text-white w-12 h-12 rounded-full shadow-lg hidden"> | |
| <i class="fas fa-arrow-up"></i> | |
| </button> | |
| <!-- WhatsApp Button --> | |
| <div class="fixed bottom-6 left-6"> | |
| <a href="https://wa.me/1234567890" class="bg-green-500 text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg"> | |
| <i class="fab fa-whatsapp text-2xl"></i> | |
| </a> | |
| </div> | |
| <script> | |
| // Mobile menu toggle | |
| const mobileMenuButton = document.querySelector('.mobile-menu-button'); | |
| const mobileMenu = document.querySelector('.mobile-menu'); | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| }); | |
| // Quiz functionality | |
| const quizContainer = document.getElementById('quiz-container'); | |
| const quizResults = document.getElementById('quiz-results'); | |
| const submitQuiz = document.getElementById('submit-quiz'); | |
| const retakeQuiz = document.getElementById('retake-quiz'); | |
| const scoreElement = document.getElementById('score'); | |
| const feedbackElement = document.getElementById('feedback'); | |
| const correctAnswers = { | |
| q1: 'b', | |
| q2: 'b', | |
| q3: 'c' | |
| }; | |
| const feedbackMessages = [ | |
| "You might want to review the material again.", | |
| "Good effort! Review the key concepts to improve.", | |
| "Excellent! You understand the Pogonatum life cycle well." | |
| ]; | |
| submitQuiz.addEventListener('click', () => { | |
| let score = 0; | |
| // Check answers | |
| for (const question in correctAnswers) { | |
| const selectedOption = document.querySelector(`input[name="${question}"]:checked`); | |
| if (selectedOption && selectedOption.value === correctAnswers[question]) { | |
| score++; | |
| } | |
| } | |
| // Display results | |
| scoreElement.textContent = `${score}/3 Correct!`; | |
| if (score === 0) { | |
| feedbackElement.textContent = feedbackMessages[0]; | |
| } else if (score < 3) { | |
| feedbackElement.textContent = feedbackMessages[1]; | |
| } else { | |
| feedbackElement.textContent = feedbackMessages[2]; | |
| } | |
| quizContainer.classList.add('hidden'); | |
| quizResults.classList.remove('hidden'); | |
| }); | |
| retakeQuiz.addEventListener('click', () => { | |
| // Clear all selections | |
| document.querySelectorAll('input[type="radio"]').forEach(radio => { | |
| radio.checked = false; | |
| }); | |
| quizContainer.classList.remove('hidden'); | |
| quizResults.classList.add('hidden'); | |
| }); | |
| // Back to top button | |
| const backToTopButton = document.getElementById('back-to-top'); | |
| window.addEventListener('scroll', () => { | |
| if (window.pageYOffset > 300) { | |
| backToTopButton.classList.remove('hidden'); | |
| } else { | |
| backToTopButton.classList.add('hidden'); | |
| } | |
| }); | |
| backToTopButton.addEventListener('click', () => { | |
| window.scrollTo({ | |
| top: 0, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| </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=KSithara/kdb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |