|
<!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> |
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
<style> |
|
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap'); |
|
|
|
body { |
|
font-family: 'Tajawal', sans-serif; |
|
background-color: #f8fafc; |
|
} |
|
|
|
.concept-card { |
|
transition: all 0.3s ease; |
|
} |
|
|
|
.concept-card:hover { |
|
transform: translateY(-5px); |
|
box-shadow: 0 10px 20px rgba(0,0,0,0.1); |
|
} |
|
|
|
.philosopher-card { |
|
border-left: 4px solid; |
|
transition: all 0.3s ease; |
|
} |
|
.philosopher-card:hover { |
|
box-shadow: 0 5px 15px rgba(0,0,0,0.08); |
|
} |
|
|
|
.axis-header { |
|
position: relative; |
|
padding-bottom: 15px; |
|
margin-bottom: 20px; |
|
} |
|
|
|
.axis-header::after { |
|
content: ""; |
|
position: absolute; |
|
bottom: 0; |
|
right: 0; |
|
width: 100px; |
|
height: 3px; |
|
background-color: #3b82f6; |
|
border-radius: 1.5px; |
|
} |
|
|
|
|
|
.timeline { |
|
position: relative; |
|
padding: 20px 0; |
|
list-style: none; |
|
} |
|
|
|
.timeline::before { |
|
content: ''; |
|
position: absolute; |
|
top: 0; |
|
bottom: 0; |
|
width: 4px; |
|
background: #cbd5e1; |
|
right: 31px; |
|
margin-right: -2px; |
|
} |
|
|
|
.timeline-item { |
|
margin: 20px 0; |
|
padding-right: 60px; |
|
position: relative; |
|
} |
|
|
|
.timeline-item::before { |
|
content: ''; |
|
position: absolute; |
|
top: 15px; |
|
right: 19px; |
|
width: 25px; |
|
height: 25px; |
|
background: white; |
|
border: 4px solid #3b82f6; |
|
border-radius: 50%; |
|
z-index: 1; |
|
} |
|
.timeline-item:last-child { |
|
margin-bottom: 0; |
|
} |
|
|
|
.comparison-card { |
|
background: linear-gradient(135deg, #f0f9ff, #e0f2fe); |
|
border: 1px solid #bae6fd; |
|
} |
|
|
|
|
|
.floating-btn { |
|
position: fixed; |
|
bottom: 20px; |
|
left: 20px; |
|
z-index: 10; |
|
transition: transform 0.3s ease; |
|
} |
|
.floating-btn:hover { |
|
transform: scale(1.1); |
|
} |
|
|
|
.highlight { |
|
background-color: rgba(250, 204, 21, 0.3); |
|
padding: 0.1em 0.3em; |
|
border-radius: 3px; |
|
} |
|
|
|
|
|
.flip-card { |
|
background-color: transparent; |
|
width: 100%; |
|
height: 150px; |
|
perspective: 1000px; |
|
} |
|
|
|
.flip-card-inner { |
|
position: relative; |
|
width: 100%; |
|
height: 100%; |
|
text-align: center; |
|
transition: transform 0.6s; |
|
transform-style: preserve-3d; |
|
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1); |
|
border-radius: 0.5rem; |
|
} |
|
|
|
.flip-card:hover .flip-card-inner { |
|
transform: rotateY(180deg); |
|
} |
|
|
|
.flip-card-front, .flip-card-back { |
|
position: absolute; |
|
width: 100%; |
|
height: 100%; |
|
-webkit-backface-visibility: hidden; |
|
backface-visibility: hidden; |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: center; |
|
align-items: center; |
|
padding: 1rem; |
|
border-radius: 0.5rem; |
|
} |
|
|
|
.flip-card-front { |
|
background-color: #ffffff; |
|
color: black; |
|
} |
|
|
|
.flip-card-back { |
|
background-color: #3b82f6; |
|
color: white; |
|
transform: rotateY(180deg); |
|
} |
|
|
|
|
|
@keyframes fadeIn { |
|
from { opacity: 0; transform: translateY(10px); } |
|
to { opacity: 1; transform: translateY(0); } |
|
} |
|
.fade-in { |
|
animation: fadeIn 0.8s ease-out forwards; |
|
} |
|
|
|
|
|
.axis-concept-card { |
|
background-color: #f9fafb; |
|
border: 1px solid #e5e7eb; |
|
border-right: 3px solid; |
|
} |
|
|
|
|
|
.quiz-section { |
|
background-color: #ffffff; |
|
padding: 2rem; |
|
border-radius: 0.5rem; |
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); |
|
margin-bottom: 2rem; |
|
} |
|
.quiz-title { |
|
font-size: 1.5rem; |
|
font-weight: 700; |
|
color: #1f2937; |
|
margin-bottom: 1.5rem; |
|
text-align: center; |
|
border-bottom: 2px solid #60a5fa; |
|
padding-bottom: 0.5rem; |
|
} |
|
.quiz-question { |
|
border-bottom: 1px solid #e5e7eb; |
|
padding-bottom: 1rem; |
|
margin-bottom: 1.5rem; |
|
} |
|
.quiz-question:last-of-type { |
|
border-bottom: none; |
|
margin-bottom: 0; |
|
padding-bottom: 0; |
|
} |
|
|
|
|
|
</style> |
|
</head> |
|
<body class="bg-gray-50"> |
|
|
|
<div class="container mx-auto px-4 py-8"> |
|
|
|
<header class="text-center mb-12"> |
|
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-4"> |
|
<i class="fas fa-gavel text-blue-500"></i> درس الواجب <i class="fas fa-scroll text-blue-500"></i> |
|
</h1> |
|
<p class="text-lg text-gray-600 max-w-3xl mx-auto"> |
|
استكشاف مفهوم الواجب الأخلاقي، طبيعته، علاقته بالوعي والمجتمع من خلال آراء فلاسفة مختلفين وإشكاليات محورية. |
|
</p> |
|
</header> |
|
|
|
<section class="mb-16" id="main-concepts-overview"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">نظرة عامة على المفاهيم</h2> |
|
<p class="text-center text-gray-600 mb-8">في هذا الدرس، سنتناول مفهوم الواجب من زوايا مختلفة، بدءاً من طبيعته الأساسية (هل هو إلزام أم قدرة؟)، مروراً بأصل الوعي الأخلاقي الذي يوجهنا (هل هو فطري أم مكتسب؟)، وصولاً إلى علاقته بالمجتمع (هل هو فردي أم جماعي؟). سنتعرف على مفاهيم أساسية سيتم تفصيلها لاحقاً.</p> |
|
<div class="flex justify-center space-x-8 space-x-reverse text-center text-gray-700"> |
|
<div class="flex flex-col items-center"> |
|
<i class="fas fa-balance-scale-left text-3xl text-blue-500 mb-2"></i> |
|
<span>طبيعة الواجب</span> |
|
</div> |
|
<div class="flex flex-col items-center"> |
|
<i class="fas fa-brain text-3xl text-green-500 mb-2"></i> |
|
<span>الوعي الأخلاقي</span> |
|
</div> |
|
<div class="flex flex-col items-center"> |
|
<i class="fas fa-users text-3xl text-purple-500 mb-2"></i> |
|
<span>الواجب والمجتمع</span> |
|
</div> |
|
</div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الأول: طبيعة الواجب</h2> |
|
<div class="bg-blue-50 border-r-4 border-blue-400 p-4 rounded-lg shadow-sm mb-8"> |
|
<h3 class="font-bold text-blue-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3> |
|
<p class="text-blue-700">هل يتأسس الواجب على الإكراه والإلزام الذي يمثله القانون الأخلاقي، أم على القدرة والميل الطبيعي والالتزام؟</p> |
|
</div> |
|
<div class="mb-8"> |
|
<h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور:</h3> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> |
|
<div class="axis-concept-card border-red-400 p-4 rounded-md shadow-sm"> |
|
<h4 class="font-semibold text-red-700 flex items-center mb-1"><i class="fas fa-lock ml-2"></i> الإكراه والإلزام الأخلاقي</h4> |
|
<p class="text-sm text-gray-600">الشعور بالضرورة والقوة القاهرة التي تفرضها القاعدة الأخلاقية (غالباً العقلية عند كانط) على الإرادة، بغض النظر عن الميول.</p> |
|
</div> |
|
<div class="axis-concept-card border-green-400 p-4 rounded-md shadow-sm"> |
|
<h4 class="font-semibold text-green-700 flex items-center mb-1"><i class="fas fa-running ml-2"></i> القدرة والميل الطبيعي</h4> |
|
<p class="text-sm text-gray-600">القوة الحيوية الداخلية والعاطفة التلقائية التي تدفع الإنسان نحو الفعل الأخلاقي باعتباره تعبيراً عن الحياة (عند غويو).</p> |
|
</div> |
|
</div> |
|
</div> |
|
<h3 class="font-bold text-xl text-gray-700 mb-6">مواقف الفلاسفة:</h3> |
|
<ul class="timeline"> |
|
<li class="timeline-item"> |
|
<div class="philosopher-card border-red-500 bg-white p-4 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-red-700 mb-2 flex items-center"><i class="fas fa-user-tie ml-2"></i> إمانويل كانط: الواجب كإلزام عقلي</h4> <p class="text-gray-600 mb-2 text-sm">يرى كانط أن الواجب هو <span class="highlight">"ضرورة أداء الفعل احتراماً للقانون"</span>. لا يستند للميل أو التجربة بل للعقل.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>الواجب يتضمن <strong class="text-red-600">إكراهاً وإلزاماً</strong> عقلياً.</li> <li>يجب فعل الواجب حتى لو تعارض مع الميول.</li> <li>الأساس هو احترام القانون الأخلاقي الذي يشرعه العقل.</li> <li>الواجب هو إكراه عقلي حر (تلتزم به الإرادة الحرة).</li></ul> </div> |
|
</li> |
|
<li class="timeline-item"> |
|
<div class="philosopher-card border-green-500 bg-white p-4 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-green-700 mb-2 flex items-center"><i class="fas fa-user-pen ml-2"></i> جون ماري غويو: الواجب كقدرة طبيعية</h4> <p class="text-gray-600 mb-2 text-sm">يؤكد غويو أن الواجب ليس إكراهاً، بل <span class="highlight">قدرة طبيعية</span> وعاطفة متدفقة.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>الواجب <strong class="text-green-600">ميل تلقائي</strong> للفعل الأخلاقي.</li> <li>ينبع من الحياة ويسعى للتحقق في الأفعال.</li> <li>كلما زادت قدرة الإنسان، زادت واجباته.</li> <li>الدافع هو شعور طبيعي عفوي، لا إلزام خارجي.</li></ul> </div> |
|
</li> |
|
</ul> |
|
<div class="mt-8"> <h3 class="font-bold text-lg text-gray-700 mb-4">مقارنة سريعة:</h3> <div class="comparison-card p-6 rounded-lg shadow-sm grid grid-cols-1 md:grid-cols-2 gap-6"> <div> <h5 class="font-semibold text-red-700 mb-2 flex items-center"><i class="fas fa-user-tie ml-2"></i> كانط</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>مصدر الواجب: العقل والقانون الأخلاقي.</li><li>طبيعة الواجب: إلزام، إكراه، ضرورة عقلية.</li><li>الدور الرئيسي: احترام القانون.</li></ul> </div> <div> <h5 class="font-semibold text-green-700 mb-2 flex items-center"><i class="fas fa-user-pen ml-2"></i> غويو</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>مصدر الواجب: الحياة، القدرة الطبيعية، العاطفة.</li><li>طبيعة الواجب: ميل، تدفق، شعور تلقائي.</li><li>الدور الرئيسي: تحقيق طاقة الحياة.</li></ul> </div> </div> </div> |
|
<div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8"> <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الأول</h3> <p class="text-gray-700 text-sm"> يظهر التباين واضحاً بين النظرة التي تؤكد على الطابع الإلزامي والعقلي للواجب (كانط)، والنظرة التي تركز على البعد الحيوي والطبيعي له (غويو). فهل الواجب يأتي من "الأعلى" كقانون، أم ينبع من "الداخل" كقوة؟ قد يكون الواجب تجربة إنسانية مركبة تجمع بين الإلزام والقدرة. </p> </div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الثاني: طبيعة الوعي الأخلاقي</h2> |
|
<div class="bg-green-50 border-r-4 border-green-400 p-4 rounded-lg shadow-sm mb-8"> |
|
<h3 class="font-bold text-green-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3> |
|
<p class="text-green-700">هل الوعي الأخلاقي فطري وله أساس في ذواتنا، أم أنه نتاج للتجربة الإنسانية والتفاعل الاجتماعي؟</p> |
|
</div> |
|
<div class="mb-8"> |
|
<h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور:</h3> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> |
|
<div class="axis-concept-card border-blue-400 p-4 rounded-md shadow-sm"> |
|
<h4 class="font-semibold text-blue-700 flex items-center mb-1"><i class="fas fa-seedling ml-2"></i> الوعي الأخلاقي الفطري</h4> |
|
<p class="text-sm text-gray-600">الاعتقاد بأن الإنسان يولد بمبدأ داخلي أو "غريزة" أخلاقية تمكنه من التمييز بين الخير والشر بشكل طبيعي (كما عند روسو).</p> |
|
</div> |
|
<div class="axis-concept-card border-yellow-500 p-4 rounded-md shadow-sm"> |
|
<h4 class="font-semibold text-yellow-700 flex items-center mb-1"><i class="fas fa-history ml-2"></i> الوعي الأخلاقي المكتسب/التاريخي</h4> |
|
<p class="text-sm text-gray-600">الاعتقاد بأن الوعي الأخلاقي ليس طبيعياً بل يتشكل ويتطور عبر التجربة، التربية، التفاعلات الاجتماعية، وعلاقات القوة عبر التاريخ (كما عند نيتشه).</p> |
|
</div> |
|
</div> |
|
</div> |
|
<h3 class="font-bold text-xl text-gray-700 mb-6">مواقف الفلاسفة:</h3> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-8"> |
|
<div class="philosopher-card border-blue-500 bg-white p-6 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-blue-700 mb-2 flex items-center"><i class="fas fa-leaf ml-2"></i> جان جاك روسو: الوعي الأخلاقي فطري</h4> <p class="text-gray-600 mb-2 text-sm">يرى روسو أن الوعي الأخلاقي <span class="highlight">متجذر في الطبيعة الإنسانية</span>.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>يوجد <strong class="text-blue-600">مبدأ فطري</strong> للعدالة والفضيلة يميز الإنسان.</li> <li>هذا المبدأ كالغريزة يقود للتمييز بين الخير والشر.</li> <li>أفعال الوعي هي أحاسيس داخلية أساسها في الذات.</li> <li>الإنسان ميال لحب الخير بمجرد إدراكه.</li></ul> </div> |
|
<div class="philosopher-card border-yellow-600 bg-white p-6 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-yellow-700 mb-2 flex items-center"><i class="fas fa-hammer ml-2"></i> فريدريك نيتشه: الوعي الأخلاقي نتاج تاريخي</h4> <p class="text-gray-600 mb-2 text-sm">يرى نيتشه أن الوعي الأخلاقي ليس فطرياً بل نتيجة <span class="highlight">للعلاقات الإنسانية التاريخية</span>.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>تشكل عبر علاقات السيطرة والقوة (السادة والعبيد).</li> <li>مفاهيم الخطأ والضمير والواجب ترسخت <strong class="text-yellow-700">عبر التاريخ</strong>.</li> <li>الوعي الأخلاقي تشكل عبر العقاب الجسدي.</li> <li>ليس نابعاً من التزام أخلاقي مجرد.</li></ul> </div> |
|
</div> |
|
<div class="mt-8"> <h3 class="font-bold text-lg text-gray-700 mb-4">مقارنة سريعة:</h3> <div class="comparison-card p-6 rounded-lg shadow-sm grid grid-cols-1 md:grid-cols-2 gap-6"> <div> <h5 class="font-semibold text-blue-700 mb-2 flex items-center"><i class="fas fa-leaf ml-2"></i> روسو</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>الأصل: طبيعي، فطري، داخلي.</li><li>الآلية: غريزة، إحساس داخلي.</li><li>النظرة للإنسان: خيّر بطبعه.</li></ul> </div> <div> <h5 class="font-semibold text-yellow-700 mb-2 flex items-center"><i class="fas fa-hammer ml-2"></i> نيتشه</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>الأصل: تاريخي، اجتماعي، مكتسب.</li><li>الآلية: علاقات القوة، العقاب، التاريخ.</li><li>النظرة للإنسان: الأخلاق نتاج ظروف تاريخية.</li></ul> </div> </div> </div> |
|
<div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8"> <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الثاني</h3> <p class="text-gray-700 text-sm"> يطرح هذا المحور سؤال الأصل: هل نولد ببوصلة أخلاقية داخلية (روسو) أم أن هذه البوصلة تُصنع وتُشكّل عبر مسيرتنا في التاريخ والمجتمع (نيتشه)؟ الإجابة قد تكمن في التفاعل المعقد بين الاستعداد الفطري والتأثيرات الخارجية في تشكيل وعينا الأخلاقي. </p> </div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 axis-header">المحور الثالث: الواجب والمجتمع</h2> |
|
<div class="bg-purple-50 border-r-4 border-purple-400 p-4 rounded-lg shadow-sm mb-8"> <h3 class="font-bold text-purple-800 mb-2 flex items-center"><i class="fas fa-question-circle ml-2"></i> الإشكالية المحورية</h3> <p class="text-purple-700">هل يقتصر الواجب على ضمير الفرد أم يؤطره المجتمع؟ وكيف يمكن الانتقال من الواجبات المجتمعية إلى الواجبات الإنسانية الكونية؟</p> </div> |
|
<div class="mb-8"> <h3 class="font-bold text-xl text-gray-700 mb-4">مفاهيم أساسية للمحور:</h3> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> <div class="axis-concept-card border-indigo-400 p-4 rounded-md shadow-sm"> <h4 class="font-semibold text-indigo-700 flex items-center mb-1"><i class="fas fa-user-shield ml-2"></i> الضمير الفردي</h4> <p class="text-sm text-gray-600">القدرة الداخلية للفرد على إصدار الأحكام الأخلاقية والشعور بالمسؤولية تجاه أفعاله، قد يُنظر إليه كشيء مستقل أو متأثر بالمجتمع.</p> </div> <div class="axis-concept-card border-indigo-600 p-4 rounded-md shadow-sm"> <h4 class="font-semibold text-indigo-800 flex items-center mb-1"><i class="fas fa-users-cog ml-2"></i> الضمير الجمعي/الاجتماعي</h4> <p class="text-sm text-gray-600">مجموع المعتقدات والمشاعر المشتركة بين أفراد المجتمع، والتي تشكل نظاماً محدداً له حياته الخاصة، ويعتبره دوركايم مصدر الأخلاق والواجب.</p> </div> <div class="axis-concept-card border-teal-500 p-4 rounded-md shadow-sm lg:col-span-1 md:col-span-2"> <h4 class="font-semibold text-teal-700 flex items-center mb-1"><i class="fas fa-globe-africa ml-2"></i> الواجب الكوني/الإنساني</h4> <p class="text-sm text-gray-600">الالتزامات الأخلاقية التي تتجاوز حدود المجتمع الواحد لتشمل الإنسانية جمعاء، وتهدف إلى تحقيق قيم عالمية كالسلام والعدل (كما عند برغسون).</p> </div> </div> </div> |
|
<h3 class="font-bold text-xl text-gray-700 mb-6">مواقف الفلاسفة:</h3> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-8"> |
|
<div class="philosopher-card border-indigo-500 bg-white p-6 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-indigo-700 mb-2 flex items-center"><i class="fas fa-users ml-2"></i> إميل دوركايم: الواجب ذو مصدر اجتماعي</h4> <p class="text-gray-600 mb-2 text-sm">يرى دوركايم أن الضمير الأخلاقي والمجتمع شيء واحد، <span class="highlight">المجتمع هو مصدر الواجب</span>.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>سلطة المجتمع ترسخ الواجبات في وعي الأفراد عبر <strong class="text-indigo-600">الضمير الجمعي</strong>.</li><li>التربية والتنشئة تغرس الواجبات.</li><li>الوعي الأخلاقي الفردي صدى للوعي الجمعي.</li><li>حرية الفرد تتقلص أمام سلطة المجتمع.</li></ul> </div> |
|
<div class="philosopher-card border-teal-500 bg-white p-6 rounded-lg shadow-md"> <h4 class="font-bold text-lg text-teal-700 mb-2 flex items-center"><i class="fas fa-globe ml-2"></i> هنري برغسون: الواجب بين المجتمعي والإنساني</h4> <p class="text-gray-600 mb-2 text-sm">يقر برغسون بدور المجتمع لكنه يدعو لتجاوزه نحو <span class="highlight">واجب إنساني كوني</span>.</p> <ul class="list-disc pr-4 text-sm text-gray-500 space-y-1"><li>المجتمع يحدد الواجبات عبر ضغط خارجي.</li><li>الاكتفاء بواجبات المجتمع قد يولد الانغلاق والصراع.</li><li>ضرورة الانفتاح على <strong class="text-teal-600">واجبات إنسانية كونية</strong>.</li><li>الهدف: توطيد العلاقات السلمية بين المجتمعات.</li></ul> </div> |
|
</div> |
|
<div class="mt-8"> <h3 class="font-bold text-lg text-gray-700 mb-4">مقارنة سريعة:</h3> <div class="comparison-card p-6 rounded-lg shadow-sm grid grid-cols-1 md:grid-cols-2 gap-6"> <div> <h5 class="font-semibold text-indigo-700 mb-2 flex items-center"><i class="fas fa-users ml-2"></i> دوركايم</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>مصدر الواجب: المجتمع حصراً.</li><li>نطاق الواجب: مجتمعي، محلي.</li><li>العلاقة بالفرد: الفرد خاضع للمجتمع.</li><li>المفهوم المركزي: الضمير الجمعي.</li></ul> </div> <div> <h5 class="font-semibold text-teal-700 mb-2 flex items-center"><i class="fas fa-globe ml-2"></i> برغسون</h5> <ul class="list-disc pr-4 text-sm text-gray-700 space-y-1"><li>مصدر الواجب: المجتمع (مبدئياً) + انفتاح إنساني.</li><li>نطاق الواجب: مجتمعي + كوني/إنساني.</li><li>العلاقة بالفرد: ضرورة تجاوز ضغط المجتمع للانفتاح.</li><li>المفهوم المركزي: الواجب الإنساني/الكوني.</li></ul> </div> </div> </div> |
|
<div class="bg-gray-100 border border-gray-200 p-4 rounded-lg shadow-inner mt-8"> <h3 class="font-bold text-gray-800 mb-2 flex items-center"><i class="fas fa-lightbulb ml-2 text-yellow-500"></i> تركيب المحور الثالث</h3> <p class="text-gray-700 text-sm"> يتناول هذا المحور العلاقة بين الفرد والمجتمع في تحديد الواجب. فبينما يرى دوركايم أن المجتمع هو المحدد الأوحد، يدعو برغسون إلى ضرورة تجاوز الإطار المجتمعي نحو أفق إنساني أرحب. يطرح هذا تحدي الموازنة بين الالتزام تجاه مجتمعنا والانفتاح على المسؤولية تجاه الإنسانية جمعاء. </p> </div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">خلاصة واستنتاجات</h2> |
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-8"> |
|
<div class="bg-white p-6 rounded-lg shadow-md border-l-4 border-blue-500"> <h3 class="font-semibold text-lg text-blue-800 mb-2 flex items-center"><i class="fas fa-sitemap ml-2"></i> تعقيد مفهوم الواجب</h3> <p class="text-gray-700 text-sm">الواجب ليس مفهوماً بسيطاً، فهو يتأرجح بين الإلزام العقلي (كانط) والقدرة الطبيعية (غويو)، ويتأثر بالوعي الأخلاقي الذي قد يكون فطرياً (روسو) أو نتاجاً تاريخياً (نيتشه)، كما يتشكل بتأثير المجتمع (دوركايم) مع ضرورة الانفتاح الإنساني (برغسون).</p> </div> |
|
<div class="bg-white p-6 rounded-lg shadow-md border-l-4 border-green-500"> <h3 class="font-semibold text-lg text-green-800 mb-2 flex items-center"><i class="fas fa-balance-scale ml-2"></i> التوتر المستمر</h3> <p class="text-gray-700 text-sm">هناك توتر دائم في فهم الواجب: بين العقل والميل، بين الفطرة والاكتساب، وبين الفرد والمجتمع، وبين الالتزام المحلي والمسؤولية الكونية. فهم هذه التوترات أساسي للتفكير الأخلاقي الناضج.</p> </div> |
|
</div> |
|
<div class="bg-sky-100 border border-sky-300 p-6 rounded-lg shadow"> <h3 class="font-bold text-sky-800 mb-2 flex items-center"><i class="fas fa-book-open ml-2"></i> نحو فهم أعمق</h3> <p class="text-sky-700"> دراسة هذه المواقف الفلسفية والمفاهيم المرتبطة بها تساعدنا على فهم أعمق لطبيعة التزاماتنا الأخلاقية، ومصادرها، وتحدياتها في عالم معقد. إنها دعوة للتفكير النقدي في مفهوم الواجب وتطبيقاته في حياتنا الفردية والجماعية. </p> </div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-8 text-center axis-header">مراجعة المفاهيم الأساسية (انقر للتعريف)</h2> |
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-6"> |
|
<div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-check-double text-4xl text-blue-500 mb-2"></i> <h4 class="font-bold">الواجب</h4> </div> <div class="flip-card-back"> <p class="text-sm">الالتزام الأخلاقي بفعل ما ينبغي فعله، سواء بإكراه أو بميل طبيعي.</p> </div> </div> </div> |
|
<div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-balance-scale-left text-4xl text-gray-500 mb-2"></i> <h4 class="font-bold">القانون الأخلاقي</h4> </div> <div class="flip-card-back"> <p class="text-sm">المبادئ التي تحدد ما هو صواب وما هو خطأ (قد تكون عقلية أو اجتماعية).</p> </div> </div> </div> |
|
<div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-brain text-4xl text-green-500 mb-2"></i> <h4 class="font-bold">الوعي الأخلاقي</h4> </div> <div class="flip-card-back"> <p class="text-sm">القدرة على إصدار أحكام معيارية على الأفعال والتمييز بين الخير والشر.</p> </div> </div> </div> |
|
<div class="flip-card"> <div class="flip-card-inner"> <div class="flip-card-front"> <i class="fas fa-heart text-4xl text-red-500 mb-2"></i> <h4 class="font-bold">الإرادة الخيرة</h4> </div> <div class="flip-card-back"> <p class="text-sm">عند كانط: الإرادة التي تفعل الخير بدافع احترام القانون الأخلاقي فقط.</p> </div> </div> </div> |
|
</div> |
|
</section> |
|
|
|
<section class="mb-16"> |
|
<h2 class="text-3xl font-bold text-gray-800 mb-12 text-center axis-header">اختبر فهمك (أقسام منفصلة)</h2> |
|
|
|
<div id="problematicsQuizSection" class="quiz-section"> |
|
<h3 class="quiz-title"><i class="fas fa-question-circle text-blue-500 mr-2"></i> اختبار الإشكاليات الفلسفية</h3> |
|
<div class="space-y-6"> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س1: التساؤل حول ما إذا كان الواجب نابعاً من <span class="text-red-600">الإكراه</span> أم من <span class="text-green-600">القدرة</span> هو الإشكالية الأساسية لـ:</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="a" data-correct="true" class="ml-2"> المحور الأول: طبيعة الواجب.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="b" class="ml-2"> المحور الثاني: طبيعة الوعي الأخلاقي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp1" value="c" class="ml-2"> المحور الثالث: الواجب والمجتمع.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س2: الإشكالية المحورية التي تبحث في أصل الوعي الأخلاقي (فطري أم مكتسب) تُطرح في أي محور؟</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="a" class="ml-2"> المحور الأول: طبيعة الواجب.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="b" data-correct="true" class="ml-2"> المحور الثاني: طبيعة الوعي الأخلاقي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp2" value="c" class="ml-2"> المحور الثالث: الواجب والمجتمع.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س3: التساؤل حول ما إذا كان الواجب يقتصر على <span class="text-indigo-600">الفرد</span> أم يؤطره <span class="text-purple-600">المجتمع</span>، وكيفية الانتقال للكونية، هو إشكالية أي محور؟</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="a" class="ml-2"> المحور الأول: طبيعة الواجب.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="b" class="ml-2"> المحور الثاني: طبيعة الوعي الأخلاقي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qp3" value="c" data-correct="true" class="ml-2"> المحور الثالث: الواجب والمجتمع.</label> |
|
</div> |
|
</div> |
|
</div> |
|
<button id="submitProblematicsQuiz" class="mt-8 w-full bg-blue-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-blue-700 transition duration-300 text-lg"> |
|
إرسال إجابات الإشكاليات <i class="fas fa-paper-plane mr-2"></i> |
|
</button> |
|
<div id="problematicsResult" class="mt-6"></div> |
|
</div> |
|
|
|
<div id="conceptsQuizSection" class="quiz-section"> |
|
<h3 class="quiz-title"><i class="fas fa-book-open text-green-500 mr-2"></i> اختبار المفاهيم الفلسفية</h3> |
|
<div class="space-y-6"> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س1: ما هو التعريف العام لمفهوم <span class="text-blue-600 font-bold">"الواجب"</span>؟</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="a" data-correct="true" class="ml-2"> الالتزام الأخلاقي بفعل ما ينبغي فعله.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="b" class="ml-2"> الميل الطبيعي لفعل الخير فقط.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="c" class="ml-2"> الخضوع لقوانين الدولة والمجتمع.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc1" value="d" class="ml-2"> البحث عن السعادة الشخصية.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س2: ما هو المقصود بـ<span class="text-red-600 font-bold">"الإرادة الخيرة"</span> حسب المفهوم الكانطي؟</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="a" class="ml-2"> الإرادة التي تحقق أكبر قدر من السعادة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="b" data-correct="true" class="ml-2"> الإرادة التي تعمل بمقتضى الواجب احتراماً للقانون الأخلاقي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="c" class="ml-2"> الإرادة التي تتبع الميل الطبيعي نحو الخير.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc2" value="d" class="ml-2"> الإرادة القوية التي تفرض نفسها.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س3: مفهوم <span class="text-red-700 font-bold">"الإكراه الأخلاقي"</span> كما يُفهم في سياق المحور الأول يشير إلى:</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="a" class="ml-2"> الإكراه الجسدي من قبل السلطة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="b" class="ml-2"> الميل العاطفي القوي لفعل شيء ما.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="c" data-correct="true" class="ml-2"> الشعور بالضرورة والقوة القاهرة التي تفرضها القاعدة الأخلاقية على الإرادة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc3" value="d" class="ml-2"> القدرة الطبيعية على فعل الخير.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س4: <span class="text-blue-700 font-bold">"الوعي الأخلاقي الفطري"</span> يعني أن الإنسان:</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="a" data-correct="true" class="ml-2"> يولد بمبدأ داخلي يميز الخير والشر.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="b" class="ml-2"> يكتسب وعيه الأخلاقي من التجربة فقط.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="c" class="ml-2"> لا يمتلك وعياً أخلاقياً حقيقياً.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc4" value="d" class="ml-2"> وعيه الأخلاقي يتشكل بفعل العقاب التاريخي.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س5: مفهوم <span class="text-indigo-700 font-bold">"الضمير الجمعي"</span> عند دوركايم يشير إلى:</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="a" class="ml-2"> مجموع ضمائر الأفراد المستقلة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="b" class="ml-2"> الوعي الأخلاقي الفطري لدى الإنسان.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="c" data-correct="true" class="ml-2"> مجموع المعتقدات والمشاعر المشتركة التي يفرضها المجتمع وتُشكل الأخلاق.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc5" value="d" class="ml-2"> القوانين المكتوبة للدولة.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س6: ما هو الهدف من <span class="text-teal-600 font-bold">"الواجب الإنساني الكوني"</span> كما يطرحه برغسون؟</h4> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="a" class="ml-2"> تقوية الانتماء للمجتمع المحلي فقط.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="b" data-correct="true" class="ml-2"> تجاوز انغلاق المجتمعات وتوطيد السلام بينها.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="c" class="ml-2"> فرض ثقافة مجتمع واحد على العالم.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qc6" value="d" class="ml-2"> العودة إلى الطبيعة البدائية.</label> |
|
</div> |
|
</div> |
|
</div> |
|
<button id="submitConceptsQuiz" class="mt-8 w-full bg-green-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-green-700 transition duration-300 text-lg"> |
|
إرسال إجابات المفاهيم <i class="fas fa-paper-plane mr-2"></i> |
|
</button> |
|
<div id="conceptsResult" class="mt-6"></div> |
|
</div> |
|
|
|
<div id="stancesQuizSection" class="quiz-section"> |
|
<h3 class="quiz-title"><i class="fas fa-users text-purple-500 mr-2"></i> اختبار المواقف الفلسفية</h3> |
|
<div class="space-y-6"> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س1: بالنسبة لـ <span class="text-red-700 font-bold">كانط</span>، الواجب يتأسس أساساً على:</h3> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="a" class="ml-2"> العاطفة والميل الطبيعي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="b" data-correct="true" class="ml-2"> احترام القانون الأخلاقي الصادر عن العقل.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="c" class="ml-2"> التجربة والنتائج العملية للفعل.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs1" value="d" class="ml-2"> ضغط المجتمع وتقاليده.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س2: يرى <span class="text-green-700 font-bold">غويو</span> أن الواجب هو:</h3> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="a" data-correct="true" class="ml-2"> قدرة طبيعية وعاطفة متدفقة من الحياة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="b" class="ml-2"> إلزام خارجي يفرضه المجتمع.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="c" class="ml-2"> ضرورة عقلية مجردة لا علاقة لها بالحياة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs2" value="d" class="ml-2"> حساب للمنافع والمضار.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س3: حسب <span class="text-blue-700 font-bold">روسو</span>، الوعي الأخلاقي لدى الإنسان:</h3> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="a" class="ml-2"> مكتسب بالكامل من التربية والتجربة.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="b" data-correct="true" class="ml-2"> فطري ومتجذر في الطبيعة الإنسانية.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="c" class="ml-2"> نتاج لعلاقات القوة في التاريخ.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs3" value="d" class="ml-2"> وهم لا وجود له في الحقيقة.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س4: يرى <span class="text-yellow-700 font-bold">نيتشه</span> أن الوعي الأخلاقي هو أساساً:</h3> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="a" class="ml-2"> غريزة فطرية للخير.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="b" class="ml-2"> أمر إلهي مطلق.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="c" data-correct="true" class="ml-2"> نتاج تاريخي لعلاقات القوة والعقاب.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs4" value="d" class="ml-2"> تعبير عن العقل الكوني.</label> |
|
</div> |
|
</div> |
|
<div class="quiz-question"> |
|
<h4 class="font-semibold text-lg mb-3">س5: يرى <span class="text-indigo-700 font-bold">دوركايم</span> أن مصدر الواجب الأساسي هو:</h3> |
|
<div class="space-y-2"> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="a" class="ml-2"> ضمير الفرد وقناعاته الشخصية.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="b" data-correct="true" class="ml-2"> المجتمع وسلطته والوعي الجمعي.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="c" class="ml-2"> العقل الكوني المطلق.</label> |
|
<label class="flex items-center cursor-pointer"><input type="radio" name="qs5" value="d" class="ml-2"> الطبيعة وقوانينها الحيوية.</label> |
|
</div> |
|
</div> |
|
</div> |
|
<button id="submitStancesQuiz" class="mt-8 w-full bg-purple-600 text-white py-3 px-6 rounded-lg font-semibold hover:bg-purple-700 transition duration-300 text-lg"> |
|
إرسال إجابات المواقف <i class="fas fa-paper-plane mr-2"></i> |
|
</button> |
|
<div id="stancesResult" class="mt-6"></div> |
|
</div> |
|
|
|
</section> |
|
</div> <a href="#main-concepts-overview" onclick="event.preventDefault(); scrollToElement('#main-concepts-overview');" |
|
class="floating-btn bg-blue-600 text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg hover:bg-blue-700"> |
|
<i class="fas fa-arrow-up text-xl"></i> |
|
</a> |
|
|
|
<script> |
|
document.addEventListener('DOMContentLoaded', () => { |
|
|
|
document.body.classList.add('fade-in'); |
|
|
|
|
|
document.getElementById('submitProblematicsQuiz')?.addEventListener('click', () => submitSpecificQuiz('problematics')); |
|
document.getElementById('submitConceptsQuiz')?.addEventListener('click', () => submitSpecificQuiz('concepts')); |
|
document.getElementById('submitStancesQuiz')?.addEventListener('click', () => submitSpecificQuiz('stances')); |
|
}); |
|
|
|
|
|
function submitSpecificQuiz(quizType) { |
|
const quizSection = document.getElementById(`${quizType}QuizSection`); |
|
if (!quizSection) { |
|
console.error(`Quiz section not found for type: ${quizType}`); |
|
return; |
|
} |
|
|
|
const questions = quizSection.querySelectorAll('.quiz-question'); |
|
const totalQuestions = questions.length; |
|
const resultDiv = document.getElementById(`${quizType}Result`); |
|
let score = 0; |
|
|
|
|
|
let namePrefix = ''; |
|
if (quizType === 'problematics') namePrefix = 'qp'; |
|
else if (quizType === 'concepts') namePrefix = 'qc'; |
|
else if (quizType === 'stances') namePrefix = 'qs'; |
|
else { |
|
console.error(`Unknown quiz type: ${quizType}`); |
|
return; |
|
} |
|
|
|
|
|
resultDiv.innerHTML = ''; |
|
clearQuizFormatting(quizSection); |
|
|
|
questions.forEach((questionDiv, index) => { |
|
const questionNumber = index + 1; |
|
const selectedAnswer = questionDiv.querySelector(`input[name="${namePrefix}${questionNumber}"]:checked`); |
|
|
|
if (selectedAnswer) { |
|
if (selectedAnswer.hasAttribute('data-correct')) { |
|
score++; |
|
|
|
selectedAnswer.parentElement.classList.add('text-green-600', 'font-semibold'); |
|
} else { |
|
|
|
selectedAnswer.parentElement.classList.add('text-red-600'); |
|
const correctAnswer = questionDiv.querySelector(`input[data-correct="true"]`); |
|
if(correctAnswer) { |
|
correctAnswer.parentElement.classList.add('text-green-600', 'font-semibold', 'bg-green-100', 'p-1', 'rounded'); |
|
} |
|
} |
|
} else { |
|
|
|
const questionTitle = questionDiv.querySelector('h4'); |
|
if(questionTitle) questionTitle.classList.add('text-yellow-600', 'font-bold'); |
|
} |
|
}); |
|
|
|
|
|
const percentage = totalQuestions > 0 ? Math.round((score / totalQuestions) * 100) : 0; |
|
|
|
let feedbackMessage = ''; |
|
let resultClass = ''; |
|
let buttonClass = ''; |
|
|
|
if (quizType === 'problematics') buttonClass = 'bg-blue-600 hover:bg-blue-700'; |
|
else if (quizType === 'concepts') buttonClass = 'bg-green-600 hover:bg-green-700'; |
|
else if (quizType === 'stances') buttonClass = 'bg-purple-600 hover:bg-purple-700'; |
|
else buttonClass = 'bg-gray-600 hover:bg-gray-700'; |
|
|
|
|
|
if (percentage >= 80) { |
|
feedbackMessage = `ممتاز! (${score}/${totalQuestions}) إجابات صحيحة.`; |
|
resultClass = 'bg-green-100 text-green-800 mt-6 p-4 rounded-lg shadow'; |
|
|
|
} else if (percentage >= 50) { |
|
feedbackMessage = `جيد! (${score}/${totalQuestions}) إجابات صحيحة. تحتاج لمراجعة بسيطة.`; |
|
resultClass = 'bg-yellow-100 text-yellow-800 mt-6 p-4 rounded-lg shadow'; |
|
|
|
} else { |
|
feedbackMessage = `تحتاج إلى مراجعة هذا القسم. (${score}/${totalQuestions}) إجابات صحيحة.`; |
|
resultClass = 'bg-red-100 text-red-800 mt-6 p-4 rounded-lg shadow'; |
|
|
|
} |
|
|
|
resultDiv.className = resultClass; |
|
resultDiv.innerHTML = ` |
|
<h4 class="font-bold text-lg mb-2">النتيجة: ${percentage}%</h4> |
|
<p class="mb-3">${feedbackMessage}</p> |
|
<button onclick="retryQuiz('${quizType}')" class="mt-2 ${buttonClass} text-white py-2 px-4 rounded-lg font-medium transition duration-300"> |
|
أعد المحاولة <i class="fas fa-redo mr-1"></i> |
|
</button> |
|
`; |
|
|
|
resultDiv.scrollIntoView({ behavior: 'smooth', block: 'center' }); |
|
} |
|
|
|
|
|
function clearQuizFormatting(quizSection) { |
|
if (!quizSection) return; |
|
|
|
const labels = quizSection.querySelectorAll('label'); |
|
labels.forEach(label => { |
|
label.classList.remove('text-green-600', 'font-semibold', 'text-red-600', 'bg-green-100', 'p-1', 'rounded'); |
|
}); |
|
|
|
const questionTitles = quizSection.querySelectorAll('.quiz-question h4'); |
|
questionTitles.forEach(title => title.classList.remove('text-yellow-600', 'font-bold')); |
|
} |
|
|
|
|
|
function scrollToElement(selector) { |
|
const element = document.querySelector(selector); |
|
if (element) { |
|
element.scrollIntoView({ behavior: 'smooth', block: 'start' }); |
|
} |
|
} |
|
|
|
|
|
|
|
function retryQuiz(quizType) { |
|
const quizSection = document.getElementById(`${quizType}QuizSection`); |
|
const resultDiv = document.getElementById(`${quizType}Result`); |
|
|
|
if(quizSection && resultDiv) { |
|
|
|
const radioButtons = quizSection.querySelectorAll('input[type="radio"]'); |
|
radioButtons.forEach(rb => rb.checked = false); |
|
|
|
|
|
resultDiv.innerHTML = ''; |
|
resultDiv.className = 'mt-6'; |
|
|
|
|
|
clearQuizFormatting(quizSection); |
|
|
|
|
|
quizSection.scrollIntoView({ behavior: 'smooth', block: 'start' }); |
|
} else { |
|
console.error(`Could not find section or result div for quiz type: ${quizType}`); |
|
|
|
scrollToElement('body'); |
|
} |
|
} |
|
|
|
|
|
</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=methodya/devoire" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
</html> |