Dotsent's picture
Аха 2025 год, - Initial Deployment
743c102 verified
Raw History Blame Contribute Delete
30.6 kB
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Биология - Проверка знаний</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>
.question-card {
transition: all 0.3s ease;
}
.question-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.answer-option {
transition: all 0.2s ease;
}
.answer-option:hover {
background-color: #f0fdf4;
}
.progress-bar {
transition: width 0.6s ease;
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="bg-green-700 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i class="fas fa-microscope text-3xl mr-3"></i>
<div>
<h1 class="text-2xl font-bold">Биология - Проверка знаний</h1>
<p class="text-green-100">Для учащихся и преподавателей</p>
</div>
</div>
<div class="text-center md:text-right">
<p class="text-green-100"><i class="fas fa-map-marker-alt mr-1"></i> Ташкент, Мирабад, ул. Нукус 25-а</p>
<p class="text-green-100"><i class="fas fa-phone mr-1"></i> +998 94 032 72 78</p>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Welcome Section -->
<section class="mb-12 bg-white rounded-xl shadow-md overflow-hidden fade-in">
<div class="md:flex">
<div class="md:w-2/3 p-8">
<h2 class="text-3xl font-bold text-green-800 mb-4">Добро пожаловать!</h2>
<p class="text-gray-700 mb-6">
Этот сайт создан для проверки знаний по биологии. Здесь вы найдете тесты и задачи по различным разделам биологии,
которые помогут вам подготовиться к урокам и экзаменам.
</p>
<div class="flex flex-wrap gap-4">
<button id="startTestBtn" class="bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300">
<i class="fas fa-play mr-2"></i> Начать тест
</button>
<button class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300">
<i class="fas fa-book mr-2"></i> Материалы
</button>
</div>
</div>
<div class="md:w-1/3 bg-green-100 flex items-center justify-center p-4">
<img src="https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80"
alt="Биология" class="rounded-lg h-full object-cover">
</div>
</div>
</section>
<!-- Test Selection -->
<section id="testSelection" class="mb-12 fade-in">
<h2 class="text-2xl font-bold text-gray-800 mb-6 border-b pb-2">Выберите раздел для тестирования</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-green-100 p-3 rounded-full mr-4">
<i class="fas fa-dna text-green-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Молекулярная биология</h3>
</div>
<p class="text-gray-600 mb-4">Тест по основам молекулярной биологии, ДНК, РНК и белкам.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">10 вопросов</span>
<button class="bg-green-100 text-green-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-leaf text-blue-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Ботаника</h3>
</div>
<p class="text-gray-600 mb-4">Тест по строению и функциям растительных организмов.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">15 вопросов</span>
<button class="bg-blue-100 text-blue-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-purple-100 p-3 rounded-full mr-4">
<i class="fas fa-paw text-purple-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Зоология</h3>
</div>
<p class="text-gray-600 mb-4">Тест по классификации и особенностям животных.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">12 вопросов</span>
<button class="bg-purple-100 text-purple-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-yellow-100 p-3 rounded-full mr-4">
<i class="fas fa-brain text-yellow-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Анатомия человека</h3>
</div>
<p class="text-gray-600 mb-4">Тест по строению и функциям органов человека.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">20 вопросов</span>
<button class="bg-yellow-100 text-yellow-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-virus text-red-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Микробиология</h3>
</div>
<p class="text-gray-600 mb-4">Тест по бактериям, вирусам и другим микроорганизмам.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">8 вопросов</span>
<button class="bg-red-100 text-red-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
<div class="question-card bg-white p-6 rounded-xl shadow-md cursor-pointer hover:shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-indigo-100 p-3 rounded-full mr-4">
<i class="fas fa-seedling text-indigo-600 text-xl"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800">Экология</h3>
</div>
<p class="text-gray-600 mb-4">Тест по взаимодействию организмов и окружающей среды.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">10 вопросов</span>
<button class="bg-indigo-100 text-indigo-700 px-3 py-1 rounded-full text-sm font-medium">Начать</button>
</div>
</div>
</div>
</section>
<!-- Test Section (Hidden by default) -->
<section id="testSection" class="hidden mb-12 fade-in">
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<!-- Test Header -->
<div class="bg-green-700 text-white px-6 py-4">
<div class="flex justify-between items-center">
<h2 class="text-xl font-bold">Тест: <span id="testTitle">Молекулярная биология</span></h2>
<div class="flex items-center">
<span class="mr-2">Вопрос <span id="currentQuestion">1</span> из <span id="totalQuestions">10</span></span>
<div class="w-24 bg-green-200 rounded-full h-2.5">
<div id="progressBar" class="progress-bar bg-green-100 h-2.5 rounded-full" style="width: 10%"></div>
</div>
</div>
</div>
</div>
<!-- Question Content -->
<div class="p-6">
<div id="questionContainer">
<h3 class="text-xl font-semibold text-gray-800 mb-6" id="questionText">Как называется процесс синтеза белка на матрице иРНК?</h3>
<div class="space-y-3 mb-8">
<div class="answer-option flex items-center p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-green-300">
<div class="w-6 h-6 rounded-full border border-gray-300 mr-3 flex items-center justify-center"></div>
<span>Транскрипция</span>
</div>
<div class="answer-option flex items-center p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-green-300">
<div class="w-6 h-6 rounded-full border border-gray-300 mr-3 flex items-center justify-center"></div>
<span>Редупликация</span>
</div>
<div class="answer-option flex items-center p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-green-300 bg-green-50 border-green-300">
<div class="w-6 h-6 rounded-full border border-green-500 mr-3 flex items-center justify-center">
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
<span class="font-medium">Трансляция</span>
</div>
<div class="answer-option flex items-center p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-green-300">
<div class="w-6 h-6 rounded-full border border-gray-300 mr-3 flex items-center justify-center"></div>
<span>Репарация</span>
</div>
</div>
<div class="flex justify-between">
<button id="prevQuestionBtn" class="bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium py-2 px-6 rounded-lg transition duration-300 opacity-50 cursor-not-allowed" disabled>
<i class="fas fa-arrow-left mr-2"></i> Назад
</button>
<button id="nextQuestionBtn" class="bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-6 rounded-lg transition duration-300">
Далее <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
<div id="resultsContainer" class="hidden text-center py-8">
<div class="mx-auto w-32 h-32 bg-green-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-trophy text-5xl text-green-600"></i>
</div>
<h3 class="text-2xl font-bold text-gray-800 mb-2">Тест завершен!</h3>
<p class="text-gray-600 mb-6">Ваш результат: <span class="text-green-600 font-bold">8</span> из <span class="font-bold">10</span></p>
<div class="flex justify-center space-x-4">
<button id="restartTestBtn" class="bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-6 rounded-lg transition duration-300">
<i class="fas fa-redo mr-2"></i> Пройти еще раз
</button>
<button id="backToTestsBtn" class="bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium py-2 px-6 rounded-lg transition duration-300">
<i class="fas fa-list mr-2"></i> Другие тесты
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Practice Problems -->
<section class="mb-12 fade-in">
<h2 class="text-2xl font-bold text-gray-800 mb-6 border-b pb-2">Практические задачи</h2>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-6">
<div class="mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-3">Задача 1: Генетика</h3>
<p class="text-gray-700 mb-4">
У человека карий цвет глаз (A) доминирует над голубым (a), а способность лучше владеть правой рукой (B)
доминирует над леворукостью (b). Оба гена находятся в разных хромосомах.
Каковы возможные генотипы и фенотипы детей от брака гетерозиготных по обоим признакам родителей?
</p>
<div class="bg-gray-50 p-4 rounded-lg">
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" rows="4" placeholder="Введите ваше решение..."></textarea>
<button class="mt-2 bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-lg transition duration-300">
Проверить решение
</button>
</div>
</div>
<div class="mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-3">Задача 2: Физиология растений</h3>
<p class="text-gray-700 mb-4">
Опишите, как происходит процесс фотосинтеза в листьях растений. Какие факторы влияют на его интенсивность?
Какие органеллы клетки участвуют в этом процессе и какова их роль?
</p>
<div class="bg-gray-50 p-4 rounded-lg">
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" rows="4" placeholder="Введите ваше решение..."></textarea>
<button class="mt-2 bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-lg transition duration-300">
Проверить решение
</button>
</div>
</div>
<div>
<h3 class="text-lg font-semibold text-gray-800 mb-3">Задача 3: Экология</h3>
<p class="text-gray-700 mb-4">
В озере обитают три вида рыб: хищник (щука), всеядная (плотва) и растительноядная (карась).
Постройте пищевую цепь для этой экосистемы. Что произойдет, если численность щуки резко сократится?
Какие изменения ожидаются в экосистеме через 5 лет?
</p>
<div class="bg-gray-50 p-4 rounded-lg">
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500" rows="4" placeholder="Введите ваше решение..."></textarea>
<button class="mt-2 bg-green-600 hover:bg-green-700 text-white font-medium py-2 px-4 rounded-lg transition duration-300">
Проверить решение
</button>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Биология - Проверка знаний</h3>
<p class="text-gray-300 mb-4">
Сайт для проверки знаний учащихся по биологии с тестами и практическими задачами.
</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-300 hover:text-white">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white">
<i class="fab fa-telegram"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Контакты</h3>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-map-marker-alt mr-2 text-green-400"></i>
<span>Ташкент, Мирабад, ул. Нукус 25-а</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone mr-2 text-green-400"></i>
<span>+998 94 032 72 78</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-2 text-green-400"></i>
<span>biology_test@example.com</span>
</li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Быстрые ссылки</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white hover:underline">Главная</a></li>
<li><a href="#" class="text-gray-300 hover:text-white hover:underline">Тесты</a></li>
<li><a href="#" class="text-gray-300 hover:text-white hover:underline">Задачи</a></li>
<li><a href="#" class="text-gray-300 hover:text-white hover:underline">Материалы</a></li>
<li><a href="#" class="text-gray-300 hover:text-white hover:underline">О нас</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>&copy; 2025 Биология - Проверка знаний. Все права защищены.</p>
</div>
</div>
</footer>
<script>
// Test functionality
document.addEventListener('DOMContentLoaded', function() {
const startTestBtn = document.getElementById('startTestBtn');
const testSelection = document.getElementById('testSelection');
const testSection = document.getElementById('testSection');
const backToTestsBtn = document.getElementById('backToTestsBtn');
const restartTestBtn = document.getElementById('restartTestBtn');
// Sample test data
const testData = {
title: "Молекулярная биология",
questions: [
{
text: "Как называется процесс синтеза белка на матрице иРНК?",
options: ["Транскрипция", "Редупликация", "Трансляция", "Репарация"],
correct: 2
},
{
text: "Какое азотистое основание не входит в состав ДНК?",
options: ["Аденин", "Тимин", "Урацил", "Гуанин"],
correct: 2
},
{
text: "Какой углевод входит в состав ДНК?",
options: ["Рибоза", "Дезоксирибоза", "Глюкоза", "Фруктоза"],
correct: 1
}
]
};
let currentQuestionIndex = 0;
let userAnswers = [];
// Start test button click handler
startTestBtn.addEventListener('click', function() {
testSelection.classList.add('hidden');
testSection.classList.remove('hidden');
loadQuestion(currentQuestionIndex);
});
// Back to tests button click handler
backToTestsBtn.addEventListener('click', function() {
testSection.classList.add('hidden');
testSelection.classList.remove('hidden');
resetTest();
});
// Restart test button click handler
restartTestBtn.addEventListener('click', function() {
resetTest();
loadQuestion(currentQuestionIndex);
document.getElementById('questionContainer').classList.remove('hidden');
document.getElementById('resultsContainer').classList.add('hidden');
});
// Load question function
function loadQuestion(index) {
const question = testData.questions[index];
document.getElementById('questionText').textContent = question.text;
document.getElementById('currentQuestion').textContent = index + 1;
document.getElementById('totalQuestions').textContent = testData.questions.length;
document.getElementById('testTitle').textContent = testData.title;
// Update progress bar
const progress = ((index + 1) / testData.questions.length) * 100;
document.getElementById('progressBar').style.width = `${progress}%`;
// Update options
const optionsContainer = document.querySelector('.answer-options');
// In a real app, you would dynamically generate options here
// Update navigation buttons
document.getElementById('prevQuestionBtn').disabled = index === 0;
if (index === testData.questions.length - 1) {
document.getElementById('nextQuestionBtn').textContent = 'Завершить';
document.getElementById('nextQuestionBtn').innerHTML = 'Завершить <i class="fas fa-check ml-2"></i>';
} else {
document.getElementById('nextQuestionBtn').textContent = 'Далее';
document.getElementById('nextQuestionBtn').innerHTML = 'Далее <i class="fas fa-arrow-right ml-2"></i>';
}
}
// Reset test function
function resetTest() {
currentQuestionIndex = 0;
userAnswers = [];
}
// Next question button click handler
document.getElementById('nextQuestionBtn').addEventListener('click', function() {
// In a real app, you would save the user's answer here
if (currentQuestionIndex < testData.questions.length - 1) {
currentQuestionIndex++;
loadQuestion(currentQuestionIndex);
} else {
// Test completed
document.getElementById('questionContainer').classList.add('hidden');
document.getElementById('resultsContainer').classList.remove('hidden');
}
});
// Previous question button click handler
document.getElementById('prevQuestionBtn').addEventListener('click', function() {
if (currentQuestionIndex > 0) {
currentQuestionIndex--;
loadQuestion(currentQuestionIndex);
}
});
// Answer option click handler
document.querySelectorAll('.answer-option').forEach(option => {
option.addEventListener('click', function() {
// Remove selected state from all options
document.querySelectorAll('.answer-option').forEach(opt => {
opt.classList.remove('bg-green-50', 'border-green-300');
opt.querySelector('div').innerHTML = '';
opt.querySelector('div').classList.add('border-gray-300');
opt.querySelector('div').classList.remove('border-green-500');
opt.querySelector('span').classList.remove('font-medium');
});
// Add selected state to clicked option
this.classList.add('bg-green-50', 'border-green-300');
const circle = this.querySelector('div');
circle.innerHTML = '<div class="w-3 h-3 rounded-full bg-green-500"></div>';
circle.classList.remove('border-gray-300');
circle.classList.add('border-green-500');
this.querySelector('span').classList.add('font-medium');
});
});
});
</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=Dotsent/https-huggingface-co-spaces-dotsent-myspace" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>