Spaces:
Running
Running
Update index.html
Browse files- index.html +203 -212
index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
|
@@ -659,215 +659,206 @@
|
|
| 659 |
|
| 660 |
// Data for different pages
|
| 661 |
const tifinaghData = [
|
| 662 |
-
{ letter: 'ⴰ', word: 'ⴰⵎⴰⵏ', image: '
|
| 663 |
-
{ letter: 'ⴱ', word: 'ⴱⵔⴱⵉ', image: '
|
| 664 |
-
{ letter: 'ⵛ', word: 'ⵛⴰ', image: '
|
| 665 |
-
{ letter: 'ⴷ', word: 'ⴷⴰⵔ', image: '
|
| 666 |
-
{ letter: 'ⴹ', word: 'ⴹⴰⴹ', image: '
|
| 667 |
-
{ letter: 'ⴻ', word: 'ⴻⵎⴰ', image: '
|
| 668 |
-
{ letter: 'ⴼ', word: 'ⴼⵓⵍ', image: '
|
| 669 |
-
{ letter: 'ⴳ', word: 'ⴳⴰ', image: '
|
| 670 |
-
{ letter: 'ⴳʷ', word: 'ⴳʷⴰ', image: '
|
| 671 |
-
{ letter: 'ⵄ', word: 'ⵄⴰⵍ', image: '
|
| 672 |
-
{ letter: 'ⵅ', word: 'ⵅⴰⵏ', image: '
|
| 673 |
-
{ letter: 'ⵃ', word: 'ⵃⴰ', image: '
|
| 674 |
-
{ letter: 'ⵉ', word: 'ⵉⵛ', image: '
|
| 675 |
-
{ letter: 'ⵊ', word: 'ⵊⴰⵏ', image: '
|
| 676 |
-
{ letter: 'ⴽ', word: 'ⴽⴰ', image: '
|
| 677 |
-
{ letter: 'ⴽʷ', word: 'ⴽʷⴰ', image: '
|
| 678 |
-
{ letter: 'ⵍ', word: 'ⵍⴰ', image: '
|
| 679 |
-
{ letter: 'ⵎ', word: 'ⵎⴰ', image: '
|
| 680 |
-
{ letter: 'ⵏ', word: 'ⵏⴰ', image: '
|
| 681 |
-
{ letter: 'ⵄ', word: 'ⵄⴰⵍ', image: '
|
| 682 |
-
{ letter: 'ⵇ', word: 'ⵇⴰ', image: '
|
| 683 |
-
{ letter: 'ⵔ', word: 'ⵔⴰ', image: '
|
| 684 |
-
{ letter: 'ⵕ', word: 'ⵕⴰ', image: '
|
| 685 |
-
{ letter: 'ⵙ', word: 'ⵙⴰ', image: '
|
| 686 |
-
{ letter: 'ⵚ', word: 'ⵚⴰ', image: '
|
| 687 |
-
{ letter: 'ⵜ', word: 'ⵜⴰ', image: '
|
| 688 |
-
{ letter: 'ⵜⵛ', word: 'ⵜⵛⴰ', image: '
|
| 689 |
-
{ letter: 'ⵜⵣ', word: 'ⵜⵣⴰ', image: '
|
| 690 |
-
{ letter: 'ⵡ', word: 'ⵡⴰ', image: '
|
| 691 |
-
{ letter: 'ⵢ', word: 'ⵢⴰ', image: '
|
| 692 |
-
{ letter: 'ⵣ', word: 'ⵣⴰ', image: '
|
| 693 |
-
{ letter: 'ⵥ', word: 'ⵥⴰ', image: '
|
| 694 |
-
{ letter: 'ⵀ', word: 'ⵀⴰ', image: '
|
| 695 |
];
|
| 696 |
|
| 697 |
const animalsData = [
|
| 698 |
-
{ word: 'قطة', image: '
|
| 699 |
-
{ word: 'كلب', image: '
|
| 700 |
-
{ word: 'أسد', image: '
|
| 701 |
-
{ word: 'فيل', image: '
|
| 702 |
-
{ word: 'قرد', image: '
|
| 703 |
-
{ word: 'زرافة', image: '
|
| 704 |
-
{ word: 'نمر', image: '
|
| 705 |
-
{ word: 'دب', image: '
|
| 706 |
-
{ word: 'سمكة', image: '
|
| 707 |
-
{ word: 'طائر', image: '
|
| 708 |
-
{ word: 'أرنب', image: '
|
| 709 |
-
{ word: 'خروف', image: '
|
| 710 |
-
{ word: 'حصان', image: '
|
| 711 |
-
{ word: 'ثعلب', image: '
|
| 712 |
-
{ word: 'بومة', image: '
|
| 713 |
-
{ word: 'ذئب', image: '
|
| 714 |
-
{ word: 'بطة', image: '
|
| 715 |
-
{ word: 'غزال', image: '
|
| 716 |
-
{ word: 'جمل', image: '
|
| 717 |
-
{ word: 'فراشة', image: '
|
| 718 |
];
|
| 719 |
|
| 720 |
const numbersData = [
|
| 721 |
-
{ number: '1', word: 'واحد', image: '
|
| 722 |
-
{ number: '2', word: 'اثنان', image: '
|
| 723 |
-
{ number: '3', word: 'ثلاثة', image: '
|
| 724 |
-
{ number: '4', word: '
|
| 725 |
-
{ number: '5', word: 'خمسة', image: '
|
| 726 |
-
{ number: '6', word: 'ستة', image: '
|
| 727 |
-
{ number: '7', word: 'سبعة', image: '
|
| 728 |
-
{ number: '8', word: 'ثمانية', image: '
|
| 729 |
-
{ number: '9', word: 'تسعة', image: '
|
| 730 |
-
{ number: '10', word: 'عشرة', image: '
|
| 731 |
-
{ number: '11', word: 'أحد عشر', image: '
|
| 732 |
-
{ number: '12', word: 'اثنا عشر', image: '
|
| 733 |
-
{ number: '13', word: 'ثلاثة عشر', image: '
|
| 734 |
-
{ number: '14', word: 'أربعة عشر', image: '
|
| 735 |
-
{ number: '15', word: 'خمسة عشر', image: '
|
| 736 |
-
{ number: '16', word: 'ستة عشر', image: '
|
| 737 |
-
{ number: '17', word: 'سبعة عشر', image: '
|
| 738 |
-
{ number: '18', word: 'ثمانية عشر', image: '
|
| 739 |
-
{ number: '19', word: 'تسعة عشر', image: '
|
| 740 |
-
{ number: '20', word: 'عشرون', image: '
|
| 741 |
-
{ number: '30', word: 'ثلاثون', image: '
|
| 742 |
-
{ number: '40', word: 'أربعون', image: '
|
| 743 |
-
{ number: '50', word: 'خمسون', image: '
|
| 744 |
-
{ number: '60', word: 'ستون', image: '
|
| 745 |
-
{ number: '70', word: 'سبعون', image: '
|
| 746 |
-
{ number: '80', word: 'ثمانون', image: '
|
| 747 |
-
{ number: '90', word: 'تسعون', image: '
|
| 748 |
-
{ number: '100', word: 'مئة', image: '
|
| 749 |
];
|
| 750 |
const schoolSuppliesData = [
|
| 751 |
-
{ word: 'قلم رصاص', image: '
|
| 752 |
-
{ word: 'كتاب', image: '
|
| 753 |
-
{ word: 'ممحاة', image: '
|
| 754 |
-
{ word: 'مسطرة', image: '
|
| 755 |
-
{ word: 'حقيبة مدرسية', image: '
|
| 756 |
-
{ word: 'قلم حبر', image: '
|
| 757 |
-
{ word: 'دفتر', image: '
|
| 758 |
-
{ word: 'ألوان', image: '
|
| 759 |
-
{ word: 'مقص', image: '
|
| 760 |
-
{ word: 'صمغ', image: '
|
| 761 |
];
|
| 762 |
|
| 763 |
const seasonsData = [
|
| 764 |
-
{ word: 'الشتاء', image: '
|
| 765 |
-
{ word: 'الربيع', image: '
|
| 766 |
-
{ word: 'الصيف', image: '
|
| 767 |
-
{ word: 'الخريف', image: '
|
| 768 |
];
|
| 769 |
|
| 770 |
const fruitsData = [
|
| 771 |
-
{ word: 'تفاح', image: '
|
| 772 |
-
{ word: 'موز', image: '
|
| 773 |
-
{ word: 'برتقال', image: '
|
| 774 |
-
{ word: 'فراولة', image: '
|
| 775 |
-
{ word: 'عنب', image: '
|
| 776 |
-
{ word: 'رمان', image: '
|
| 777 |
-
{ word: 'بطيخ', image: '
|
| 778 |
-
{ word: 'مانجو', image: '
|
| 779 |
-
{ word: 'أناناس', image: '
|
| 780 |
-
{ word: 'ليمون', image: '
|
| 781 |
];
|
| 782 |
|
| 783 |
const vegetablesData = [
|
| 784 |
-
{ word: 'طماطم', image: '
|
| 785 |
-
{ word: 'خيار', image: '
|
| 786 |
-
{ word: 'جزر', image: '
|
| 787 |
-
{ word: 'بصل', image: '
|
| 788 |
-
{ word: 'ثوم', image: '
|
| 789 |
-
{ word: 'فلفل', image: '
|
| 790 |
-
{ word: 'بطاطا', image: '
|
| 791 |
-
{ word: 'خس', image: '
|
| 792 |
-
{ word: 'باذنجان', image: '
|
| 793 |
-
{ word: 'قرنبيط', image: '
|
| 794 |
];
|
| 795 |
|
| 796 |
const monthsData = [
|
| 797 |
-
{ word: 'يناير', image: '
|
| 798 |
-
{ word: 'فبراير', image: '
|
| 799 |
-
{ word: 'مارس', image: '
|
| 800 |
-
{ word: 'أبريل', image: '
|
| 801 |
-
{ word: 'مايو', image: '
|
| 802 |
-
{ word: 'يونيو', image: '
|
| 803 |
-
{ word: 'يوليو', image: '
|
| 804 |
-
{ word: 'أغسطس', image: '
|
| 805 |
-
{ word: 'سبتمبر', image: '
|
| 806 |
-
{ word: 'أكتوبر', image: '
|
| 807 |
-
{ word: 'نوفمبر', image: '
|
| 808 |
-
{ word: 'ديسمبر', image: '
|
| 809 |
];
|
| 810 |
|
| 811 |
const daysData = [
|
| 812 |
-
{ word: 'الاثنين', image: '
|
| 813 |
-
{ word: 'الثلاثاء', image: '
|
| 814 |
-
{ word: 'الأربعاء', image: '
|
| 815 |
-
{ word: 'الخميس', image: '
|
| 816 |
-
{ word: 'الجمعة', image: '
|
| 817 |
-
{ word: 'السبت', image: '
|
| 818 |
-
{ word: 'الأحد', image: '
|
| 819 |
];
|
| 820 |
|
| 821 |
const familyData = [
|
| 822 |
-
{ word: 'أمي', image: '
|
| 823 |
-
{ word: 'أبي', image: '
|
| 824 |
-
{ word: 'أخي', image: '
|
| 825 |
-
{ word: 'أختي', image: '
|
| 826 |
-
{ word: 'جدي', image: '
|
| 827 |
-
{ word: 'جدتي', image: '
|
| 828 |
-
{ word: 'عمي', image: '
|
| 829 |
-
{ word: 'عمتي', image: '
|
| 830 |
-
{ word: 'خالي', image: '
|
| 831 |
-
{ word: 'خالتي', image: '
|
| 832 |
];
|
| 833 |
|
| 834 |
const bodyPartsData = [
|
| 835 |
-
{ word: 'الرأس', image: '
|
| 836 |
-
{ word: 'اليد', image: '
|
| 837 |
-
{ word: 'القدم', image: '
|
| 838 |
-
{ word: 'العين', image: '
|
| 839 |
-
{ word: 'الأنف', image: '
|
| 840 |
-
{ word: 'الفم', image: '
|
| 841 |
-
{ word: 'الأذن', image: '
|
| 842 |
-
{ word: 'الذراع', image: '
|
| 843 |
-
{ word: 'الساق', image: '
|
| 844 |
-
{ word: 'الشعر', image: '
|
| 845 |
-
{ word: 'الظهر', image: '
|
| 846 |
-
{ word: 'الصدر', image: '
|
| 847 |
-
{ word: 'البطن', image: '
|
| 848 |
-
{ word: 'الكتف', image: '
|
| 849 |
-
{ word: 'الركبة', image: '
|
| 850 |
-
{ word: 'الأسنان', image: '
|
| 851 |
-
{ word: 'اللسان', image: '
|
| 852 |
-
{ word: 'الأصابع', image: '
|
| 853 |
-
{ word: 'الرقبة', image: '
|
| 854 |
-
{ word: 'القلب', image: '
|
| 855 |
];
|
| 856 |
|
| 857 |
// Data for memory game images
|
| 858 |
const memoryGameImages = [
|
| 859 |
-
'
|
| 860 |
-
'
|
| 861 |
-
'
|
| 862 |
-
'https://source.unsplash.com/400x400/?elephant',
|
| 863 |
-
'https://source.unsplash.com/400x400/?monkey',
|
| 864 |
-
'https://source.unsplash.com/400x400/?giraffe',
|
| 865 |
-
'https://source.unsplash.com/400x400/?tiger',
|
| 866 |
-
'https://source.unsplash.com/400x400/?bear',
|
| 867 |
-
'https://source.unsplash.com/400x400/?fish',
|
| 868 |
-
'https://source.unsplash.com/400x400/?bird',
|
| 869 |
-
'https://source.unsplash.com/400x400/?rabbit',
|
| 870 |
-
'https://source.unsplash.com/400x400/?sheep'
|
| 871 |
];
|
| 872 |
|
| 873 |
// Memory game levels with image pairs
|
|
@@ -878,23 +869,23 @@
|
|
| 878 |
];
|
| 879 |
|
| 880 |
const guessingGameData = [
|
| 881 |
-
{ word: 'قطة', image: '
|
| 882 |
-
{ word: 'تفاح', image: '
|
| 883 |
-
{ word: 'كتاب', image: '
|
| 884 |
-
{ word: 'شمس', image: '
|
| 885 |
];
|
| 886 |
|
| 887 |
// Data for the new shadow matching game
|
| 888 |
const shadowGameData = [
|
| 889 |
-
{ animal: 'دب', image: '
|
| 890 |
-
{ animal: 'أرنب', image: '
|
| 891 |
-
{ animal: 'ثعلب', image: '
|
| 892 |
-
{ animal: 'غزال', image: '
|
| 893 |
-
{ animal: 'بومة', image: '
|
| 894 |
-
{ animal: 'نمر', image: '
|
| 895 |
-
{ animal: 'ذئب', image: '
|
| 896 |
-
{ animal: 'خنزير', image: '
|
| 897 |
-
{ animal: 'سنجاب', image: '
|
| 898 |
];
|
| 899 |
|
| 900 |
const colorsData = [
|
|
@@ -923,13 +914,13 @@
|
|
| 923 |
const storiesData = [
|
| 924 |
{
|
| 925 |
title: 'قصة الأرنب الصغير',
|
| 926 |
-
image: '
|
| 927 |
text: 'كان يا ما كان، في غابة بعيدة، أرنب صغير اسمه "قفاز". كان يحب القفز واللعب مع أصدقائه. في يوم من الأيام، قرر قفاز أن يبحث عن أكبر جزرة في الغابة ليأكلها.',
|
| 928 |
audio: 'path/to/story1.mp3'
|
| 929 |
},
|
| 930 |
{
|
| 931 |
title: 'قصة الفيل الحكيم',
|
| 932 |
-
image: '
|
| 933 |
text: 'في قلب الغابة الأفريقية، عاش فيل كبير وحكيم اسمه "سندباد". كان سندباد يعرف كل شيء عن الغابة، ولهذا كان الجميع يأتون إليه ليطلبوا منه المساعدة والنصيحة.',
|
| 934 |
audio: 'path/to/story2.mp3'
|
| 935 |
}
|
|
@@ -971,7 +962,7 @@
|
|
| 971 |
|
| 972 |
function showDeveloperInfo() {
|
| 973 |
const developerInfoHtml = `
|
| 974 |
-
<img src="
|
| 975 |
<p>جواد عزيزي</p>
|
| 976 |
<p>طالب بالمدرسة العليا للتربية والتكوين ببرشيد</p>
|
| 977 |
<p>تخصص اللغة الأمازيغية</p>
|
|
@@ -1089,43 +1080,43 @@
|
|
| 1089 |
const mainContent = document.createElement('div');
|
| 1090 |
mainContent.className = 'grid-container';
|
| 1091 |
mainContent.innerHTML = `
|
| 1092 |
-
<a class="card" onclick="setPage('tifinagh')"
|
| 1093 |
<span class="card-text">تعلم الحروف</span>
|
| 1094 |
</a>
|
| 1095 |
-
<a class="card" onclick="setPage('numbers')"
|
| 1096 |
<span class="card-text">تعلم الأرقام</span>
|
| 1097 |
</a>
|
| 1098 |
-
<a class="card" onclick="setPage('animals')"
|
| 1099 |
<span class="card-text">الحيوانات</span>
|
| 1100 |
</a>
|
| 1101 |
-
<a class="card" onclick="setPage('schoolSupplies')"
|
| 1102 |
<span class="card-text">أدوات مدرسية</span>
|
| 1103 |
</a>
|
| 1104 |
-
<a class="card" onclick="setPage('colors')"
|
| 1105 |
<span class="card-text">الألوان</span>
|
| 1106 |
</a>
|
| 1107 |
-
<a class="card" onclick="setPage('family')"
|
| 1108 |
<span class="card-text">العائلة</span>
|
| 1109 |
</a>
|
| 1110 |
-
<a class="card" onclick="setPage('bodyParts')"
|
| 1111 |
<span class="card-text">أجزاء الجسم</span>
|
| 1112 |
</a>
|
| 1113 |
-
<a class="card" onclick="setPage('seasons')"
|
| 1114 |
<span class="card-text">فصول السنة</span>
|
| 1115 |
</a>
|
| 1116 |
-
<a class="card" onclick="setPage('fruits')"
|
| 1117 |
<span class="card-text">الفواكه</span>
|
| 1118 |
</a>
|
| 1119 |
-
<a class="card" onclick="setPage('vegetables')"
|
| 1120 |
<span class="card-text">الخضروات</span>
|
| 1121 |
</a>
|
| 1122 |
-
<a class="card" onclick="setPage('months')"
|
| 1123 |
<span class="card-text">الشهور</span>
|
| 1124 |
</a>
|
| 1125 |
-
<a class="card" onclick="setPage('days')"
|
| 1126 |
<span class="card-text">أيام الأسبوع</span>
|
| 1127 |
</a>
|
| 1128 |
-
<a class="card" onclick="setPage('gameMenu')"
|
| 1129 |
<span class="card-text">ألعاب تعليمية</span>
|
| 1130 |
</a>
|
| 1131 |
`;
|
|
@@ -1214,16 +1205,16 @@
|
|
| 1214 |
const gameMenu = document.createElement('div');
|
| 1215 |
gameMenu.className = 'grid-container';
|
| 1216 |
gameMenu.innerHTML = `
|
| 1217 |
-
<a class="card" onclick="setGame('memory')"
|
| 1218 |
<span class="card-text">لعبة الذاكرة</span>
|
| 1219 |
</a>
|
| 1220 |
-
<a class="card" onclick="setGame('guessing')"
|
| 1221 |
<span class="card-text">لعبة التخمين</span>
|
| 1222 |
</a>
|
| 1223 |
-
<a class="card" onclick="setGame('shadow')"
|
| 1224 |
<span class="card-text">لعبة الظل</span>
|
| 1225 |
</a>
|
| 1226 |
-
<a class="card" onclick="setGame('letterGame')"
|
| 1227 |
<span class="card-text">لعبة الحروف</span>
|
| 1228 |
</a>
|
| 1229 |
`;
|
|
@@ -1550,8 +1541,8 @@
|
|
| 1550 |
`).join('');
|
| 1551 |
|
| 1552 |
questionBox.innerHTML = `
|
| 1553 |
-
<div class="text-2xl font-bold
|
| 1554 |
-
<div class="options-grid">
|
| 1555 |
${optionsHtml}
|
| 1556 |
</div>
|
| 1557 |
`;
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
|
|
|
| 659 |
|
| 660 |
// Data for different pages
|
| 661 |
const tifinaghData = [
|
| 662 |
+
{ letter: 'ⴰ', word: 'ⴰⵎⴰⵏ', image: '', audio: 'audio/aman.mp3' },
|
| 663 |
+
{ letter: 'ⴱ', word: 'ⴱⵔⴱⵉ', image: '', audio: 'audio/barbi.mp3' },
|
| 664 |
+
{ letter: 'ⵛ', word: 'ⵛⴰ', image: '', audio: 'audio/ca.mp3' },
|
| 665 |
+
{ letter: 'ⴷ', word: 'ⴷⴰⵔ', image: '', audio: 'audio/dar.mp3' },
|
| 666 |
+
{ letter: 'ⴹ', word: 'ⴹⴰⴹ', image: '', audio: 'audio/dad.mp3' },
|
| 667 |
+
{ letter: 'ⴻ', word: 'ⴻⵎⴰ', image: '', audio: 'audio/ema.mp3' },
|
| 668 |
+
{ letter: 'ⴼ', word: 'ⴼⵓⵍ', image: '', audio: 'audio/ful.mp3' },
|
| 669 |
+
{ letter: 'ⴳ', word: 'ⴳⴰ', image: '', audio: 'audio/ga.mp3' },
|
| 670 |
+
{ letter: 'ⴳʷ', word: 'ⴳʷⴰ', image: '', audio: 'audio/gwa.mp3' },
|
| 671 |
+
{ letter: 'ⵄ', word: 'ⵄⴰⵍ', image: '', audio: 'audio/al.mp3' },
|
| 672 |
+
{ letter: 'ⵅ', word: 'ⵅⴰⵏ', image: '', audio: 'audio/xan.mp3' },
|
| 673 |
+
{ letter: 'ⵃ', word: 'ⵃⴰ', image: '', audio: 'audio/ha.mp3' },
|
| 674 |
+
{ letter: 'ⵉ', word: 'ⵉⵛ', image: '', audio: 'audio/ic.mp3' },
|
| 675 |
+
{ letter: 'ⵊ', word: 'ⵊⴰⵏ', image: '', audio: 'audio/jan.mp3' },
|
| 676 |
+
{ letter: 'ⴽ', word: 'ⴽⴰ', image: '', audio: 'audio/ka.mp3' },
|
| 677 |
+
{ letter: 'ⴽʷ', word: 'ⴽʷⴰ', image: '', audio: 'audio/kwa.mp3' },
|
| 678 |
+
{ letter: 'ⵍ', word: 'ⵍⴰ', image: '', audio: 'audio/la.mp3' },
|
| 679 |
+
{ letter: 'ⵎ', word: 'ⵎⴰ', image: '', audio: 'audio/ma.mp3' },
|
| 680 |
+
{ letter: 'ⵏ', word: 'ⵏⴰ', image: '', audio: 'audio/na.mp3' },
|
| 681 |
+
{ letter: 'ⵄ', word: 'ⵄⴰⵍ', image: '', audio: 'audio/al.mp3' },
|
| 682 |
+
{ letter: 'ⵇ', word: 'ⵇⴰ', image: '', audio: 'audio/qa.mp3' },
|
| 683 |
+
{ letter: 'ⵔ', word: 'ⵔⴰ', image: '', audio: 'audio/ra.mp3' },
|
| 684 |
+
{ letter: 'ⵕ', word: 'ⵕⴰ', image: '', audio: 'audio/rra.mp3' },
|
| 685 |
+
{ letter: 'ⵙ', word: 'ⵙⴰ', image: '', audio: 'audio/sa.mp3' },
|
| 686 |
+
{ letter: 'ⵚ', word: 'ⵚⴰ', image: '', audio: 'audio/ssa.mp3' },
|
| 687 |
+
{ letter: 'ⵜ', word: 'ⵜⴰ', image: '', audio: 'audio/ta.mp3' },
|
| 688 |
+
{ letter: 'ⵜⵛ', word: 'ⵜⵛⴰ', image: '', audio: 'audio/tca.mp3' },
|
| 689 |
+
{ letter: 'ⵜⵣ', word: 'ⵜⵣⴰ', image: '', audio: 'audio/tza.mp3' },
|
| 690 |
+
{ letter: 'ⵡ', word: 'ⵡⴰ', image: '', audio: 'audio/wa.mp3' },
|
| 691 |
+
{ letter: 'ⵢ', word: 'ⵢⴰ', image: '', audio: 'audio/ya.mp3' },
|
| 692 |
+
{ letter: 'ⵣ', word: 'ⵣⴰ', image: '', audio: 'audio/za.mp3' },
|
| 693 |
+
{ letter: 'ⵥ', word: 'ⵥⴰ', image: '', audio: 'audio/zza.mp3' },
|
| 694 |
+
{ letter: 'ⵀ', word: 'ⵀⴰ', image: '', audio: 'audio/ha.mp3' },
|
| 695 |
];
|
| 696 |
|
| 697 |
const animalsData = [
|
| 698 |
+
{ word: 'قطة', image: '', audio: 'audio/cat.mp3' },
|
| 699 |
+
{ word: 'كلب', image: '', audio: 'audio/dog.mp3' },
|
| 700 |
+
{ word: 'أسد', image: '', audio: 'audio/lion.mp3' },
|
| 701 |
+
{ word: 'فيل', image: '', audio: 'audio/elephant.mp3' },
|
| 702 |
+
{ word: 'قرد', image: '', audio: 'audio/monkey.mp3' },
|
| 703 |
+
{ word: 'زرافة', image: '', audio: 'audio/giraffe.mp3' },
|
| 704 |
+
{ word: 'نمر', image: '', audio: 'audio/tiger.mp3' },
|
| 705 |
+
{ word: 'دب', image: '', audio: 'audio/bear.mp3' },
|
| 706 |
+
{ word: 'سمكة', image: '', audio: 'audio/fish.mp3' },
|
| 707 |
+
{ word: 'طائر', image: '', audio: 'audio/bird.mp3' },
|
| 708 |
+
{ word: 'أرنب', image: '', audio: 'audio/rabbit.mp3' },
|
| 709 |
+
{ word: 'خروف', image: '', audio: 'audio/sheep.mp3' },
|
| 710 |
+
{ word: 'حصان', image: '', audio: 'audio/horse.mp3' },
|
| 711 |
+
{ word: 'ثعلب', image: '', audio: 'audio/fox.mp3' },
|
| 712 |
+
{ word: 'بومة', image: '', audio: 'audio/owl.mp3' },
|
| 713 |
+
{ word: 'ذئب', image: '', audio: 'audio/wolf.mp3' },
|
| 714 |
+
{ word: 'بطة', image: '', audio: 'audio/duck.mp3' },
|
| 715 |
+
{ word: 'غزال', image: '', audio: 'audio/deer.mp3' },
|
| 716 |
+
{ word: 'جمل', image: '', audio: 'audio/camel.mp3' },
|
| 717 |
+
{ word: 'فراشة', image: '', audio: 'audio/butterfly.mp3' }
|
| 718 |
];
|
| 719 |
|
| 720 |
const numbersData = [
|
| 721 |
+
{ number: '1', word: 'واحد', image: '', audio: 'audio/one.mp3' },
|
| 722 |
+
{ number: '2', word: 'اثنان', image: '', audio: 'audio/two.mp3' },
|
| 723 |
+
{ number: '3', word: 'ثلاثة', image: '', audio: 'audio/three.mp3' },
|
| 724 |
+
{ number: '4', word: '��ربعة', image: '', audio: 'audio/four.mp3' },
|
| 725 |
+
{ number: '5', word: 'خمسة', image: '', audio: 'audio/five.mp3' },
|
| 726 |
+
{ number: '6', word: 'ستة', image: '', audio: 'audio/six.mp3' },
|
| 727 |
+
{ number: '7', word: 'سبعة', image: '', audio: 'audio/seven.mp3' },
|
| 728 |
+
{ number: '8', word: 'ثمانية', image: '', audio: 'audio/eight.mp3' },
|
| 729 |
+
{ number: '9', word: 'تسعة', image: '', audio: 'audio/nine.mp3' },
|
| 730 |
+
{ number: '10', word: 'عشرة', image: '', audio: 'audio/ten.mp3' },
|
| 731 |
+
{ number: '11', word: 'أحد عشر', image: '', audio: 'audio/eleven.mp3' },
|
| 732 |
+
{ number: '12', word: 'اثنا عشر', image: '', audio: 'audio/twelve.mp3' },
|
| 733 |
+
{ number: '13', word: 'ثلاثة عشر', image: '', audio: 'audio/thirteen.mp3' },
|
| 734 |
+
{ number: '14', word: 'أربعة عشر', image: '', audio: 'audio/fourteen.mp3' },
|
| 735 |
+
{ number: '15', word: 'خمسة عشر', image: '', audio: 'audio/fifteen.mp3' },
|
| 736 |
+
{ number: '16', word: 'ستة عشر', image: '', audio: 'audio/sixteen.mp3' },
|
| 737 |
+
{ number: '17', word: 'سبعة عشر', image: '', audio: 'audio/seventeen.mp3' },
|
| 738 |
+
{ number: '18', word: 'ثمانية عشر', image: '', audio: 'audio/eighteen.mp3' },
|
| 739 |
+
{ number: '19', word: 'تسعة عشر', image: '', audio: 'audio/nineteen.mp3' },
|
| 740 |
+
{ number: '20', word: 'عشرون', image: '', audio: 'audio/twenty.mp3' },
|
| 741 |
+
{ number: '30', word: 'ثلاثون', image: '', audio: 'audio/thirty.mp3' },
|
| 742 |
+
{ number: '40', word: 'أربعون', image: '', audio: 'audio/forty.mp3' },
|
| 743 |
+
{ number: '50', word: 'خمسون', image: '', audio: 'audio/fifty.mp3' },
|
| 744 |
+
{ number: '60', word: 'ستون', image: '', audio: 'audio/sixty.mp3' },
|
| 745 |
+
{ number: '70', word: 'سبعون', image: '', audio: 'audio/seventy.mp3' },
|
| 746 |
+
{ number: '80', word: 'ثمانون', image: '', audio: 'audio/eighty.mp3' },
|
| 747 |
+
{ number: '90', word: 'تسعون', image: '', audio: 'audio/ninety.mp3' },
|
| 748 |
+
{ number: '100', word: 'مئة', image: '', audio: 'audio/one_hundred.mp3' },
|
| 749 |
];
|
| 750 |
const schoolSuppliesData = [
|
| 751 |
+
{ word: 'قلم رصاص', image: '', audio: 'audio/pencil.mp3' },
|
| 752 |
+
{ word: 'كتاب', image: '', audio: 'audio/book.mp3' },
|
| 753 |
+
{ word: 'ممحاة', image: '', audio: 'audio/eraser.mp3' },
|
| 754 |
+
{ word: 'مسطرة', image: '', audio: 'audio/ruler.mp3' },
|
| 755 |
+
{ word: 'حقيبة مدرسية', image: '', audio: 'audio/backpack.mp3' },
|
| 756 |
+
{ word: 'قلم حبر', image: '', audio: 'audio/pen.mp3' },
|
| 757 |
+
{ word: 'دفتر', image: '', audio: 'audio/notebook.mp3' },
|
| 758 |
+
{ word: 'ألوان', image: '', audio: 'audio/colors.mp3' },
|
| 759 |
+
{ word: 'مقص', image: '', audio: 'audio/scissors.mp3' },
|
| 760 |
+
{ word: 'صمغ', image: '', audio: 'audio/glue.mp3' }
|
| 761 |
];
|
| 762 |
|
| 763 |
const seasonsData = [
|
| 764 |
+
{ word: 'الشتاء', image: '', audio: 'audio/winter.mp3' },
|
| 765 |
+
{ word: 'الربيع', image: '', audio: 'audio/spring.mp3' },
|
| 766 |
+
{ word: 'الصيف', image: '', audio: 'audio/summer.mp3' },
|
| 767 |
+
{ word: 'الخريف', image: '', audio: 'audio/autumn.mp3' }
|
| 768 |
];
|
| 769 |
|
| 770 |
const fruitsData = [
|
| 771 |
+
{ word: 'تفاح', image: '', audio: 'audio/apple.mp3' },
|
| 772 |
+
{ word: 'موز', image: '', audio: 'audio/banana.mp3' },
|
| 773 |
+
{ word: 'برتقال', image: '', audio: 'audio/orange.mp3' },
|
| 774 |
+
{ word: 'فراولة', image: '', audio: 'audio/strawberry.mp3' },
|
| 775 |
+
{ word: 'عنب', image: '', audio: 'audio/grapes.mp3' },
|
| 776 |
+
{ word: 'رمان', image: '', audio: 'audio/pomegranate.mp3' },
|
| 777 |
+
{ word: 'بطيخ', image: '', audio: 'audio/watermelon.mp3' },
|
| 778 |
+
{ word: 'مانجو', image: '', audio: 'audio/mango.mp3' },
|
| 779 |
+
{ word: 'أناناس', image: '', audio: 'audio/pineapple.mp3' },
|
| 780 |
+
{ word: 'ليمون', image: '', audio: 'audio/lemon.mp3' }
|
| 781 |
];
|
| 782 |
|
| 783 |
const vegetablesData = [
|
| 784 |
+
{ word: 'طماطم', image: '', audio: 'audio/tomato.mp3' },
|
| 785 |
+
{ word: 'خيار', image: '', audio: 'audio/cucumber.mp3' },
|
| 786 |
+
{ word: 'جزر', image: '', audio: 'audio/carrot.mp3' },
|
| 787 |
+
{ word: 'بصل', image: '', audio: 'audio/onion.mp3' },
|
| 788 |
+
{ word: 'ثوم', image: '', audio: 'audio/garlic.mp3' },
|
| 789 |
+
{ word: 'فلفل', image: '', audio: 'audio/pepper.mp3' },
|
| 790 |
+
{ word: 'بطاطا', image: '', audio: 'audio/potato.mp3' },
|
| 791 |
+
{ word: 'خس', image: '', audio: 'audio/lettuce.mp3' },
|
| 792 |
+
{ word: 'باذنجان', image: '', audio: 'audio/eggplant.mp3' },
|
| 793 |
+
{ word: 'قرنبيط', image: '', audio: 'audio/cauliflower.mp3' }
|
| 794 |
];
|
| 795 |
|
| 796 |
const monthsData = [
|
| 797 |
+
{ word: 'يناير', image: '', audio: 'audio/january.mp3' },
|
| 798 |
+
{ word: 'فبراير', image: '', audio: 'audio/february.mp3' },
|
| 799 |
+
{ word: 'مارس', image: '', audio: 'audio/march.mp3' },
|
| 800 |
+
{ word: 'أبريل', image: '', audio: 'audio/april.mp3' },
|
| 801 |
+
{ word: 'مايو', image: '', audio: 'audio/may.mp3' },
|
| 802 |
+
{ word: 'يونيو', image: '', audio: 'audio/june.mp3' },
|
| 803 |
+
{ word: 'يوليو', image: '', audio: 'audio/july.mp3' },
|
| 804 |
+
{ word: 'أغسطس', image: '', audio: 'audio/august.mp3' },
|
| 805 |
+
{ word: 'سبتمبر', image: '', audio: 'audio/september.mp3' },
|
| 806 |
+
{ word: 'أكتوبر', image: '', audio: 'audio/october.mp3' },
|
| 807 |
+
{ word: 'نوفمبر', image: '', audio: 'audio/november.mp3' },
|
| 808 |
+
{ word: 'ديسمبر', image: '', audio: 'audio/december.mp3' }
|
| 809 |
];
|
| 810 |
|
| 811 |
const daysData = [
|
| 812 |
+
{ word: 'الاثنين', image: '', audio: 'audio/monday.mp3' },
|
| 813 |
+
{ word: 'الثلاثاء', image: '', audio: 'audio/tuesday.mp3' },
|
| 814 |
+
{ word: 'الأربعاء', image: '', audio: 'audio/wednesday.mp3' },
|
| 815 |
+
{ word: 'الخميس', image: '', audio: 'audio/thursday.mp3' },
|
| 816 |
+
{ word: 'الجمعة', image: '', audio: 'audio/friday.mp3' },
|
| 817 |
+
{ word: 'السبت', image: '', audio: 'audio/saturday.mp3' },
|
| 818 |
+
{ word: 'الأحد', image: '', audio: 'audio/sunday.mp3' }
|
| 819 |
];
|
| 820 |
|
| 821 |
const familyData = [
|
| 822 |
+
{ word: 'أمي', image: '', audio: 'audio/mother.mp3' },
|
| 823 |
+
{ word: 'أبي', image: '', audio: 'audio/father.mp3' },
|
| 824 |
+
{ word: 'أخي', image: '', audio: 'audio/brother.mp3' },
|
| 825 |
+
{ word: 'أختي', image: '', audio: 'audio/sister.mp3' },
|
| 826 |
+
{ word: 'جدي', image: '', audio: 'audio/grandfather.mp3' },
|
| 827 |
+
{ word: 'جدتي', image: '', audio: 'audio/grandmother.mp3' },
|
| 828 |
+
{ word: 'عمي', image: '', audio: 'audio/uncle.mp3' },
|
| 829 |
+
{ word: 'عمتي', image: '', audio: 'audio/aunt.mp3' },
|
| 830 |
+
{ word: 'خالي', image: '', audio: 'audio/uncle.mp3' },
|
| 831 |
+
{ word: 'خالتي', image: '', audio: 'audio/aunt.mp3' }
|
| 832 |
];
|
| 833 |
|
| 834 |
const bodyPartsData = [
|
| 835 |
+
{ word: 'الرأس', image: '', audio: 'audio/head.mp3' },
|
| 836 |
+
{ word: 'اليد', image: '', audio: 'audio/hand.mp3' },
|
| 837 |
+
{ word: 'القدم', image: '', audio: 'audio/foot.mp3' },
|
| 838 |
+
{ word: 'العين', image: '', audio: 'audio/eye.mp3' },
|
| 839 |
+
{ word: 'الأنف', image: '', audio: 'audio/nose.mp3' },
|
| 840 |
+
{ word: 'الفم', image: '', audio: 'audio/mouth.mp3' },
|
| 841 |
+
{ word: 'الأذن', image: '', audio: 'audio/ear.mp3' },
|
| 842 |
+
{ word: 'الذراع', image: '', audio: 'audio/arm.mp3' },
|
| 843 |
+
{ word: 'الساق', image: '', audio: 'audio/leg.mp3' },
|
| 844 |
+
{ word: 'الشعر', image: '', audio: 'audio/hair.mp3' },
|
| 845 |
+
{ word: 'الظهر', image: '', audio: 'audio/back.mp3' },
|
| 846 |
+
{ word: 'الصدر', image: '', audio: 'audio/chest.mp3' },
|
| 847 |
+
{ word: 'البطن', image: '', audio: 'audio/belly.mp3' },
|
| 848 |
+
{ word: 'الكتف', image: '', audio: 'audio/shoulder.mp3' },
|
| 849 |
+
{ word: 'الركبة', image: '', audio: 'audio/knee.mp3' },
|
| 850 |
+
{ word: 'الأسنان', image: '', audio: 'audio/teeth.mp3' },
|
| 851 |
+
{ word: 'اللسان', image: '', audio: 'audio/tongue.mp3' },
|
| 852 |
+
{ word: 'الأصابع', image: '', audio: 'audio/fingers.mp3' },
|
| 853 |
+
{ word: 'الرقبة', image: '', audio: 'audio/neck.mp3' },
|
| 854 |
+
{ word: 'القلب', image: '', audio: 'audio/heart.mp3' }
|
| 855 |
];
|
| 856 |
|
| 857 |
// Data for memory game images
|
| 858 |
const memoryGameImages = [
|
| 859 |
+
'placeholder.png', 'placeholder.png', 'placeholder.png', 'placeholder.png',
|
| 860 |
+
'placeholder.png', 'placeholder.png', 'placeholder.png', 'placeholder.png',
|
| 861 |
+
'placeholder.png', 'placeholder.png', 'placeholder.png', 'placeholder.png'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 862 |
];
|
| 863 |
|
| 864 |
// Memory game levels with image pairs
|
|
|
|
| 869 |
];
|
| 870 |
|
| 871 |
const guessingGameData = [
|
| 872 |
+
{ word: 'قطة', image: '', options: ['قطة', 'كلب', 'أسد', 'طائر'] },
|
| 873 |
+
{ word: 'تفاح', image: '', options: ['برتقال', 'موز', 'تفاح', 'فراولة'] },
|
| 874 |
+
{ word: 'كتاب', image: '', options: ['قلم', 'دفتر', 'كتاب', 'ممحاة'] },
|
| 875 |
+
{ word: 'شمس', image: '', options: ['قمر', 'نجمة', 'سحابة', 'شمس'] }
|
| 876 |
];
|
| 877 |
|
| 878 |
// Data for the new shadow matching game
|
| 879 |
const shadowGameData = [
|
| 880 |
+
{ animal: 'دب', image: '', shadow: '' },
|
| 881 |
+
{ animal: 'أرنب', image: '', shadow: '' },
|
| 882 |
+
{ animal: 'ثعلب', image: '', shadow: '' },
|
| 883 |
+
{ animal: 'غزال', image: '', shadow: '' },
|
| 884 |
+
{ animal: 'بومة', image: '', shadow: '' },
|
| 885 |
+
{ animal: 'نمر', image: '', shadow: '' },
|
| 886 |
+
{ animal: 'ذئب', image: '', shadow: '' },
|
| 887 |
+
{ animal: 'خنزير', image: '', shadow: '' },
|
| 888 |
+
{ animal: 'سنجاب', image: '', shadow: '' },
|
| 889 |
];
|
| 890 |
|
| 891 |
const colorsData = [
|
|
|
|
| 914 |
const storiesData = [
|
| 915 |
{
|
| 916 |
title: 'قصة الأرنب الصغير',
|
| 917 |
+
image: '',
|
| 918 |
text: 'كان يا ما كان، في غابة بعيدة، أرنب صغير اسمه "قفاز". كان يحب القفز واللعب مع أصدقائه. في يوم من الأيام، قرر قفاز أن يبحث عن أكبر جزرة في الغابة ليأكلها.',
|
| 919 |
audio: 'path/to/story1.mp3'
|
| 920 |
},
|
| 921 |
{
|
| 922 |
title: 'قصة الفيل الحكيم',
|
| 923 |
+
image: '',
|
| 924 |
text: 'في قلب الغابة الأفريقية، عاش فيل كبير وحكيم اسمه "سندباد". كان سندباد يعرف كل شيء عن الغابة، ولهذا كان الجميع يأتون إليه ليطلبوا منه المساعدة والنصيحة.',
|
| 925 |
audio: 'path/to/story2.mp3'
|
| 926 |
}
|
|
|
|
| 962 |
|
| 963 |
function showDeveloperInfo() {
|
| 964 |
const developerInfoHtml = `
|
| 965 |
+
<img src="" class="dev-image" alt="صورة المطور">
|
| 966 |
<p>جواد عزيزي</p>
|
| 967 |
<p>طالب بالمدرسة العليا للتربية والتكوين ببرشيد</p>
|
| 968 |
<p>تخصص اللغة الأمازيغية</p>
|
|
|
|
| 1080 |
const mainContent = document.createElement('div');
|
| 1081 |
mainContent.className = 'grid-container';
|
| 1082 |
mainContent.innerHTML = `
|
| 1083 |
+
<a class="card" onclick="setPage('tifinagh')">
|
| 1084 |
<span class="card-text">تعلم الحروف</span>
|
| 1085 |
</a>
|
| 1086 |
+
<a class="card" onclick="setPage('numbers')">
|
| 1087 |
<span class="card-text">تعلم الأرقام</span>
|
| 1088 |
</a>
|
| 1089 |
+
<a class="card" onclick="setPage('animals')">
|
| 1090 |
<span class="card-text">الحيوانات</span>
|
| 1091 |
</a>
|
| 1092 |
+
<a class="card" onclick="setPage('schoolSupplies')">
|
| 1093 |
<span class="card-text">أدوات مدرسية</span>
|
| 1094 |
</a>
|
| 1095 |
+
<a class="card" onclick="setPage('colors')">
|
| 1096 |
<span class="card-text">الألوان</span>
|
| 1097 |
</a>
|
| 1098 |
+
<a class="card" onclick="setPage('family')">
|
| 1099 |
<span class="card-text">العائلة</span>
|
| 1100 |
</a>
|
| 1101 |
+
<a class="card" onclick="setPage('bodyParts')">
|
| 1102 |
<span class="card-text">أجزاء الجسم</span>
|
| 1103 |
</a>
|
| 1104 |
+
<a class="card" onclick="setPage('seasons')">
|
| 1105 |
<span class="card-text">فصول السنة</span>
|
| 1106 |
</a>
|
| 1107 |
+
<a class="card" onclick="setPage('fruits')">
|
| 1108 |
<span class="card-text">الفواكه</span>
|
| 1109 |
</a>
|
| 1110 |
+
<a class="card" onclick="setPage('vegetables')">
|
| 1111 |
<span class="card-text">الخضروات</span>
|
| 1112 |
</a>
|
| 1113 |
+
<a class="card" onclick="setPage('months')">
|
| 1114 |
<span class="card-text">الشهور</span>
|
| 1115 |
</a>
|
| 1116 |
+
<a class="card" onclick="setPage('days')">
|
| 1117 |
<span class="card-text">أيام الأسبوع</span>
|
| 1118 |
</a>
|
| 1119 |
+
<a class="card" onclick="setPage('gameMenu')">
|
| 1120 |
<span class="card-text">ألعاب تعليمية</span>
|
| 1121 |
</a>
|
| 1122 |
`;
|
|
|
|
| 1205 |
const gameMenu = document.createElement('div');
|
| 1206 |
gameMenu.className = 'grid-container';
|
| 1207 |
gameMenu.innerHTML = `
|
| 1208 |
+
<a class="card" onclick="setGame('memory')">
|
| 1209 |
<span class="card-text">لعبة الذاكرة</span>
|
| 1210 |
</a>
|
| 1211 |
+
<a class="card" onclick="setGame('guessing')">
|
| 1212 |
<span class="card-text">لعبة التخمين</span>
|
| 1213 |
</a>
|
| 1214 |
+
<a class="card" onclick="setGame('shadow')">
|
| 1215 |
<span class="card-text">لعبة الظل</span>
|
| 1216 |
</a>
|
| 1217 |
+
<a class="card" onclick="setGame('letterGame')">
|
| 1218 |
<span class="card-text">لعبة الحروف</span>
|
| 1219 |
</a>
|
| 1220 |
`;
|
|
|
|
| 1541 |
`).join('');
|
| 1542 |
|
| 1543 |
questionBox.innerHTML = `
|
| 1544 |
+
<div class="text-2xl font-bold">الحرف: <span class="text-[#FFB74D]">${question.letter}</span></div>
|
| 1545 |
+
<div class="options-grid mt-4">
|
| 1546 |
${optionsHtml}
|
| 1547 |
</div>
|
| 1548 |
`;
|