File size: 13,433 Bytes
b5c0aaf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | <!DOCTYPE html>
<html lang="ar" dir="rtl">
<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>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Tajawal', sans-serif;
}
.operation-card {
transition: all 0.3s ease;
}
.operation-card:hover {
transform: translateY(-5px);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
<header class="bg-blue-600 text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<a href="index.html" class="text-white">
<i data-feather="arrow-right" class="w-6 h-6"></i>
</a>
<h1 class="text-2xl font-bold">العمليات الأساسية</h1>
</div>
<button class="p-2 rounded-full hover:bg-blue-700">
<i data-feather="search" class="w-6 h-6"></i>
</button>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-8">
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
<div class="p-6">
<h2 class="text-2xl font-bold mb-4 text-blue-800">تعلم العمليات الحسابية الأساسية</h2>
<p class="text-gray-600 mb-6">العمليات الأساسية هي حجر الأساس في الرياضيات. اختر أحد العمليات التالية لبدء التعلم:</p>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
<a href="#addition" class="operation-card bg-blue-100 text-blue-800 rounded-lg p-4 text-center hover:bg-blue-200">
<i data-feather="plus" class="w-8 h-8 mx-auto mb-2"></i>
<span class="font-semibold">الجمع</span>
</a>
<a href="#subtraction" class="operation-card bg-green-100 text-green-800 rounded-lg p-4 text-center hover:bg-green-200">
<i data-feather="minus" class="w-8 h-8 mx-auto mb-2"></i>
<span class="font-semibold">الطرح</span>
</a>
<a href="#multiplication" class="operation-card bg-yellow-100 text-yellow-800 rounded-lg p-4 text-center hover:bg-yellow-200">
<i data-feather="x" class="w-8 h-8 mx-auto mb-2"></i>
<span class="font-semibold">الضرب</span>
</a>
<a href="#division" class="operation-card bg-red-100 text-red-800 rounded-lg p-4 text-center hover:bg-red-200">
<i data-feather="divide" class="w-8 h-8 mx-auto mb-2"></i>
<span class="font-semibold">القسمة</span>
</a>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="border-b border-gray-200">
<nav class="flex -mb-px">
<button onclick="openTab('addition')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-blue-500 text-blue-600">
الجمع (➕)
</button>
<button onclick="openTab('subtraction')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
الطرح (➖)
</button>
<button onclick="openTab('multiplication')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
الضرب (✖️)
</button>
<button onclick="openTab('division')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
القسمة (➗)
</button>
</nav>
</div>
<div id="addition" class="tab-content active p-6">
<h3 class="text-xl font-bold mb-4 text-blue-800">عملية الجمع</h3>
<p class="mb-4">الجمع هو عملية رياضية تُستخدم لإضافة كميات إلى بعضها البعض. رمز الجمع هو (+).</p>
<div class="bg-blue-50 p-4 rounded-lg mb-6">
<h4 class="font-semibold mb-2">مثال:</h4>
<p class="text-2xl font-bold text-center">3 + 4 = 7</p>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">خصائص الجمع:</h4>
<ul class="list-disc pr-5 space-y-2">
<li>الإبدال: أ + ب = ب + أ</li>
<li>التجميع: (أ + ب) + ج = أ + (ب + ج)</li>
<li>المحايد الجمعي: أ + 0 = أ</li>
</ul>
</div>
<button class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 flex items-center">
<i data-feather="play" class="w-4 h-4 mr-2"></i>
جرب بنفسك
</button>
</div>
<div id="subtraction" class="tab-content p-6">
<h3 class="text-xl font-bold mb-4 text-green-800">عملية الطرح</h3>
<p class="mb-4">الطرح هو عملية رياضية تُستخدم لإزالة كمية من كمية أخرى. رمز الطرح هو (-).</p>
<div class="bg-green-50 p-4 rounded-lg mb-6">
<h4 class="font-semibold mb-2">مثال:</h4>
<p class="text-2xl font-bold text-center">7 - 4 = 3</p>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">خصائص الطرح:</h4>
<ul class="list-disc pr-5 space-y-2">
<li>ليس إبداليًا: أ - ب ≠ ب - أ (في معظم الحالات)</li>
<li>ليس تجميعيًا: (أ - ب) - ج ≠ أ - (ب - ج)</li>
<li>المحايد الطرحي: أ - 0 = أ</li>
</ul>
</div>
<button class="bg-green-600 text-white px-6 py-2 rounded-lg hover:bg-green-700 flex items-center">
<i data-feather="play" class="w-4 h-4 mr-2"></i>
جرب بنفسك
</button>
</div>
<div id="multiplication" class="tab-content p-6">
<h3 class="text-xl font-bold mb-4 text-yellow-800">عملية الضرب</h3>
<p class="mb-4">الضرب هو عملية رياضية تُستخدم لحساب مجموع متساوٍ لعدد معين من المرات. رمز الضرب هو (×) أو (*).</p>
<div class="bg-yellow-50 p-4 rounded-lg mb-6">
<h4 class="font-semibold mb-2">مثال:</h4>
<p class="text-2xl font-bold text-center">3 × 4 = 12</p>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">خصائص الضرب:</h4>
<ul class="list-disc pr-5 space-y-2">
<li>الإبدال: أ × ب = ب × أ</li>
<li>التجميع: (أ × ب) × ج = أ × (ب × ج)</li>
<li>التوزيع: أ × (ب + ج) = (أ × ب) + (أ × ج)</li>
<li>المحايد الضربي: أ × 1 = أ</li>
</ul>
</div>
<button class="bg-yellow-600 text-white px-6 py-2 rounded-lg hover:bg-yellow-700 flex items-center">
<i data-feather="play" class="w-4 h-4 mr-2"></i>
جرب بنفسك
</button>
</div>
<div id="division" class="tab-content p-6">
<h3 class="text-xl font-bold mb-4 text-red-800">عملية القسمة</h3>
<p class="mb-4">القسمة هي عملية رياضية تُستخدم لتقسيم كمية إلى أجزاء متساوية. رمز القسمة هو (÷) أو (/).</p>
<div class="bg-red-50 p-4 rounded-lg mb-6">
<h4 class="font-semibold mb-2">مثال:</h4>
<p class="text-2xl font-bold text-center">12 ÷ 4 = 3</p>
</div>
<div class="mb-6">
<h4 class="font-semibold mb-2">خصائص القسمة:</h4>
<ul class="list-disc pr-5 space-y-2">
<li>ليس إبداليًا: أ ÷ ب ≠ ب ÷ أ (في معظم الحالات)</li>
<li>ليس تجميعيًا: (أ ÷ ب) ÷ ج ≠ أ ÷ (ب ÷ ج)</li>
<li>القسمة على 1: أ ÷ 1 = أ</li>
<li>القسمة على الصفر غير معرفة</li>
</ul>
</div>
<div class="bg-red-100 border-l-4 border-red-500 p-4 mb-6">
<div class="flex">
<div class="flex-shrink-0">
<i data-feather="alert-triangle" class="h-5 w-5 text-red-600"></i>
</div>
<div class="mr-3">
<h4 class="font-semibold text-red-800">تحذير!</h4>
<p class="text-red-700">القسمة على صفر غير ممكنة في الرياضيات التقليدية.</p>
</div>
</div>
</div>
<button class="bg-red-600 text-white px-6 py-2 rounded-lg hover:bg-red-700 flex items-center">
<i data-feather="play" class="w-4 h-4 mr-2"></i>
جرب بنفسك
</button>
</div>
</div>
</main>
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<h3 class="text-xl font-bold mb-2">تعلم الرياضيات</h3>
<p class="text-gray-400">منصة تعليمية متكاملة لفهم الرياضيات بسهولة</p>
</div>
<div class="flex space-x-6">
<a href="#" class="hover:text-blue-300">الشروط والأحكام</a>
<a href="#" class="hover:text-blue-300">سياسة الخصوصية</a>
<a href="contact.html" class="hover:text-blue-300">اتصل بنا</a>
</div>
</div>
<div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400">
<p>© 2023 تعلم الرياضيات. جميع الحقوق محفوظة.</p>
</div>
</div>
</footer>
<script>
feather.replace();
function openTab(tabName) {
// Hide all tab contents
const tabContents = document.getElementsByClassName('tab-content');
for (let i = 0; i < tabContents.length; i++) {
tabContents[i].classList.remove('active');
}
// Show the selected tab content
document.getElementById(tabName).classList.add('active');
// Update tab buttons
const tabButtons = document.getElementsByClassName('tab-button');
for (let i = 0; i < tabButtons.length; i++) {
tabButtons[i].classList.remove('border-blue-500', 'text-blue-600');
tabButtons[i].classList.add('border-transparent', 'text-gray-500');
}
// Highlight the selected tab button
event.currentTarget.classList.add('border-blue-500', 'text-blue-600');
event.currentTarget.classList.remove('border-transparent', 'text-gray-500');
}
</script>
</body>
</html>
|