{"id":14983,"date":"2025-12-03T15:12:28","date_gmt":"2025-12-03T14:12:28","guid":{"rendered":"https:\/\/activities.myyaformation.com\/?post_type=dt_lessons&#038;p=14983"},"modified":"2025-12-03T16:11:03","modified_gmt":"2025-12-03T15:11:03","slug":"21-les-liaisons-obligatoires","status":"publish","type":"dt_lessons","link":"https:\/\/activities.myyaformation.com\/en\/lessons\/21-les-liaisons-obligatoires\/","title":{"rendered":"21. Mandatory connections"},"content":{"rendered":"\n<div style=\"font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.7; max-width: 900px; margin: auto; padding: 20px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); color: #334155;\">\n    <!-- TITRE GLOBAL -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px; border-left: 6px solid #8b5cf6;\">\n        <h1 style=\"color: #8b5cf6; margin-bottom: 10px; display: flex; align-items: center;\">\n            <span style=\"background: #8b5cf6; color: white; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: 15px;\">\ud83d\udd17<\/span>\n            Le\u00e7on 21 \u2013 Les liaisons obligatoires\n        <\/h1>\n        <p style=\"color: #64748b; font-size: 1.1rem;\">Apprenez \u00e0 reconna\u00eetre et \u00e0 prononcer les liaisons obligatoires en fran\u00e7ais<\/p>\n    <\/div>\n\n    <!-- SECTION I - EXPLICATION -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px;\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\ud83d\udcd8<\/span> 1. Explication simple\n        <\/h2>\n        \n        <div style=\"background: #f0f9ff; padding: 20px; border-radius: 10px; margin-bottom: 20px; border: 1px solid #93c5fd;\">\n            <p style=\"margin: 0 0 15px 0; font-size: 1.1rem;\">La <strong>liaison obligatoire<\/strong> est un petit son qui relie deux mots. On l'entend <strong>toujours<\/strong> dans la prononciation.<\/p>\n            \n            <div style=\"background: #dbeafe; padding: 15px; border-radius: 8px; margin-top: 15px; text-align: center;\">\n                <p style=\"font-weight: bold; color: #3b82f6; margin: 0; font-size: 1.2rem;\">Exemples : les\u203famis, vous\u203favez, un\u203fenfant<\/p>\n            <\/div>\n            \n            <div style=\"background: #fef3c7; padding: 15px; border-radius: 8px; margin-top: 15px; border-left: 4px solid #f59e0b;\">\n                <p style=\"color: #92400e; margin: 0; font-weight: bold;\">\ud83d\udca1 Astuce :<\/p>\n                <p style=\"color: #92400e; margin: 8px 0 0 0;\">Imaginez que les mots sont comme des wagons de train qui doivent \u00eatre attach\u00e9s ensemble. La liaison est l'attache !<\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <!-- SECTION II - EXEMPLES -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px;\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\u2728<\/span> 2. Exemples\n        <\/h2>\n        \n        <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;\">\n            <div style=\"background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #93c5fd;\">\n                <div style=\"background: #3b82f6; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; font-weight: bold; font-size: 1.2rem;\">1<\/div>\n                <p style=\"font-weight: bold; color: #1e40af; font-size: 1.2rem; margin: 0;\">Les\u203famis arrivent.<\/p>\n                <p style=\"color: #64748b; margin-top: 8px; font-style: italic;\">\/lez\u203fami\/<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #93c5fd;\">\n                <div style=\"background: #3b82f6; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; font-weight: bold; font-size: 1.2rem;\">2<\/div>\n                <p style=\"font-weight: bold; color: #1e40af; font-size: 1.2rem; margin: 0;\">Vous\u203favez un stylo.<\/p>\n                <p style=\"color: #64748b; margin-top: 8px; font-style: italic;\">\/vuz\u203fave\/<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #93c5fd;\">\n                <div style=\"background: #3b82f6; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; font-weight: bold; font-size: 1.2rem;\">3<\/div>\n                <p style=\"font-weight: bold; color: #1e40af; font-size: 1.2rem; margin: 0;\">Un\u203fenfant court.<\/p>\n                <p style=\"color: #64748b; margin-top: 8px; font-style: italic;\">\/\u0153\u0303n\u203f\u0251\u0303f\u0251\u0303\/<\/p>\n            <\/div>\n        <\/div>\n        \n        <div style=\"background: #dcfce7; padding: 20px; border-radius: 10px; margin-top: 20px; border: 1px solid #22c55e;\">\n            <h4 style=\"color: #166534; margin-top: 0; margin-bottom: 10px; display: flex; align-items: center;\">\n                <span style=\"margin-right: 8px;\">\ud83c\udfaf<\/span> R\u00e8gle importante\n            <\/h4>\n            <p style=\"color: #166534; margin: 0;\">La liaison obligatoire se fait g\u00e9n\u00e9ralement entre un d\u00e9terminant (le, la, les, un, des...) et le nom qui suit, ou entre un pronom sujet (vous, ils, nous...) et le verbe.<\/p>\n        <\/div>\n    <\/div>\n\n    <!-- SECTION III - MINI-SITUATION -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px;\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\ud83d\udcac<\/span> 3. Mini-situation\n        <\/h2>\n        \n        <div style=\"background: #fef3c7; padding: 25px; border-radius: 10px; border: 1px solid #fbbf24; position: relative;\">\n            <div style=\"position: absolute; top: -15px; left: 20px; background: #f59e0b; color: white; padding: 5px 15px; border-radius: 20px; font-weight: bold;\">\n                Dialogue\n            <\/div>\n            \n            <div style=\"display: flex; flex-direction: column; gap: 20px;\">\n                <div style=\"display: flex; align-items: flex-start;\">\n                    <div style=\"background: #8b5cf6; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; font-weight: bold; font-size: 1.1rem;\">F<\/div>\n                    <div style=\"background: #fefce8; padding: 15px 20px; border-radius: 18px; max-width: 80%; border: 1px solid #fbbf24;\">\n                        <p style=\"margin: 0; font-weight: bold; color: #92400e;\">Fatima :<\/p>\n                        <p style=\"margin: 8px 0 0 0; color: #92400e;\">\u00ab <span style=\"background: #fde68a; padding: 2px 5px; border-radius: 4px;\">Les\u203fenfants<\/span> jouent dans le parc. <span style=\"background: #fde68a; padding: 2px 5px; border-radius: 4px;\">Vous\u203favez<\/span> vu ? \u00bb<\/p>\n                    <\/div>\n                <\/div>\n                \n                <div style=\"display: flex; align-items: flex-start; justify-content: flex-end;\">\n                    <div style=\"background: #fefce8; padding: 15px 20px; border-radius: 18px; max-width: 80%; border: 1px solid #fbbf24;\">\n                        <p style=\"margin: 0; font-weight: bold; color: #92400e; text-align: right;\">Le voisin :<\/p>\n                        <p style=\"margin: 8px 0 0 0; color: #92400e; text-align: right;\">\u00ab Oui, je <span style=\"background: #fde68a; padding: 2px 5px; border-radius: 4px;\">les\u203fai<\/span> vus. Ils s'amusent bien ! \u00bb<\/p>\n                    <\/div>\n                    <div style=\"background: #10b981; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 15px; flex-shrink: 0; font-weight: bold; font-size: 1.1rem;\">V<\/div>\n                <\/div>\n            <\/div>\n            \n            <div style=\"background: #d1fae5; padding: 15px; border-radius: 8px; margin-top: 20px; border: 1px solid #10b981;\">\n                <p style=\"color: #047857; margin: 0; font-weight: bold;\">\ud83d\udcdd Note :<\/p>\n                <p style=\"color: #047857; margin: 8px 0 0 0;\">Dans ce dialogue, toutes les liaisons en jaune sont <strong>obligatoires<\/strong>. On doit les prononcer !<\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <!-- SECTION IV - VOCABULAIRE -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px;\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\ud83d\udcda<\/span> 4. Vocabulaire\n        <\/h2>\n        \n        <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px;\">\n            <div style=\"background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #c4b5fd;\">\n                <p style=\"font-weight: bold; color: #6b21a8; font-size: 1.3rem; margin: 0 0 10px 0;\">amis<\/p>\n                <p style=\"color: #7c3aed; margin: 0; font-size: 0.9rem;\">\/ami\/ (friends)<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #c4b5fd;\">\n                <p style=\"font-weight: bold; color: #6b21a8; font-size: 1.3rem; margin: 0 0 10px 0;\">enfants<\/p>\n                <p style=\"color: #7c3aed; margin: 0; font-size: 0.9rem;\">\/\u0251\u0303f\u0251\u0303\/ (children)<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #c4b5fd;\">\n                <p style=\"font-weight: bold; color: #6b21a8; font-size: 1.3rem; margin: 0 0 10px 0;\">avoir<\/p>\n                <p style=\"color: #7c3aed; margin: 0; font-size: 0.9rem;\">\/avwa\u0281\/ (to have)<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #c4b5fd;\">\n                <p style=\"font-weight: bold; color: #6b21a8; font-size: 1.3rem; margin: 0 0 10px 0;\">parc<\/p>\n                <p style=\"color: #7c3aed; margin: 0; font-size: 0.9rem;\">\/pa\u0281k\/ (park)<\/p>\n            <\/div>\n            \n            <div style=\"background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); padding: 20px; border-radius: 10px; text-align: center; border: 2px solid #c4b5fd;\">\n                <p style=\"font-weight: bold; color: #6b21a8; font-size: 1.3rem; margin: 0 0 10px 0;\">voisins<\/p>\n                <p style=\"color: #7c3aed; margin: 0; font-size: 0.9rem;\">\/vwaz\u025b\u0303\/ (neighbors)<\/p>\n            <\/div>\n        <\/div>\n        \n        <div style=\"background: #fef3c7; padding: 15px; border-radius: 8px; margin-top: 20px; border: 1px solid #fbbf24;\">\n            <p style=\"color: #92400e; margin: 0; font-weight: bold;\">\ud83d\udcaa Exercice de prononciation :<\/p>\n            <p style=\"color: #92400e; margin: 8px 0 0 0;\">Prononcez chaque mot lentement, puis essayez avec la liaison : \"les\" + pause + \"amis\" \u2192 \"les\u203famis\"<\/p>\n        <\/div>\n    <\/div>\n\n    <!-- SECTION V - EXERCICE INTERACTIF -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 25px;\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\u270d\ufe0f<\/span> 5. Exercice interactif\n        <\/h2>\n        \n        <div style=\"background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); padding: 25px; border-radius: 10px; border: 2px solid #93c5fd;\">\n            <h3 style=\"color: #3b82f6; margin-top: 0; text-align: center; margin-bottom: 25px;\">\u00c9coute et choisis si la liaison est obligatoire<\/h3>\n            \n            <!-- Question 1 -->\n            <div style=\"background: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);\">\n                <p style=\"font-weight: bold; color: #3b82f6; margin-bottom: 15px; font-size: 1.1rem;\">1. \"<span style=\"background: #dbeafe; padding: 2px 8px; border-radius: 4px;\">les\u203fenfants<\/span>\"<\/p>\n                \n                <div style=\"display: flex; gap: 20px; margin-bottom: 15px;\">\n                    <button onclick=\"checkExerciseAnswer(1, 'oui')\" id=\"btn1-oui\" style=\"flex: 1; background: #dcfce7; border: 2px solid #22c55e; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #166534;\">OUI<\/button>\n                    <button onclick=\"checkExerciseAnswer(1, 'non')\" id=\"btn1-non\" style=\"flex: 1; background: #fee2e2; border: 2px solid #ef4444; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #991b1b;\">NON<\/button>\n                <\/div>\n                \n                <div id=\"result-1\" style=\"display: none; padding: 12px; border-radius: 6px; margin-top: 10px;\"><\/div>\n            <\/div>\n            \n            <!-- Question 2 -->\n            <div style=\"background: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);\">\n                <p style=\"font-weight: bold; color: #3b82f6; margin-bottom: 15px; font-size: 1.1rem;\">2. \"<span style=\"background: #dbeafe; padding: 2px 8px; border-radius: 4px;\">vous\u203favez<\/span>\"<\/p>\n                \n                <div style=\"display: flex; gap: 20px; margin-bottom: 15px;\">\n                    <button onclick=\"checkExerciseAnswer(2, 'oui')\" id=\"btn2-oui\" style=\"flex: 1; background: #dcfce7; border: 2px solid #22c55e; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #166534;\">OUI<\/button>\n                    <button onclick=\"checkExerciseAnswer(2, 'non')\" id=\"btn2-non\" style=\"flex: 1; background: #fee2e2; border: 2px solid #ef4444; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #991b1b;\">NON<\/button>\n                <\/div>\n                \n                <div id=\"result-2\" style=\"display: none; padding: 12px; border-radius: 6px; margin-top: 10px;\"><\/div>\n            <\/div>\n            \n            <!-- Question 3 (bonus) -->\n            <div style=\"background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);\">\n                <p style=\"font-weight: bold; color: #3b82f6; margin-bottom: 15px; font-size: 1.1rem;\">3. \"<span style=\"background: #dbeafe; padding: 2px 8px; border-radius: 4px;\">un\u203farbre<\/span>\" (bonus)<\/p>\n                \n                <div style=\"display: flex; gap: 20px; margin-bottom: 15px;\">\n                    <button onclick=\"checkExerciseAnswer(3, 'oui')\" id=\"btn3-oui\" style=\"flex: 1; background: #dcfce7; border: 2px solid #22c55e; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #166534;\">OUI<\/button>\n                    <button onclick=\"checkExerciseAnswer(3, 'non')\" id=\"btn3-non\" style=\"flex: 1; background: #fee2e2; border: 2px solid #ef4444; padding: 12px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; color: #991b1b;\">NON<\/button>\n                <\/div>\n                \n                <div id=\"result-3\" style=\"display: none; padding: 12px; border-radius: 6px; margin-top: 10px;\"><\/div>\n            <\/div>\n            \n            <!-- Boutons de contr\u00f4le -->\n            <div style=\"display: flex; gap: 15px; justify-content: center; margin-top: 25px;\">\n                <button onclick=\"checkAllAnswers()\" style=\"background: #8b5cf6; color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; display: flex; align-items: center; gap: 8px;\">\n                    <span>\ud83d\udcca Voir mon score<\/span>\n                <\/button>\n                <button onclick=\"resetExercise()\" style=\"background: #64748b; color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; display: flex; align-items: center; gap: 8px;\">\n                    <span>\ud83d\udd04 Recommencer<\/span>\n                <\/button>\n            <\/div>\n            \n            <!-- Affichage du score -->\n            <div id=\"score-container\" style=\"background: #d1fae5; padding: 20px; border-radius: 10px; margin-top: 25px; display: none; border: 3px solid #10b981; text-align: center;\">\n                <h4 style=\"color: #047857; margin-top: 0; margin-bottom: 10px;\">\ud83c\udf89 R\u00e9sultat de l'exercice<\/h4>\n                <div id=\"score-text\" style=\"font-size: 1.2rem; margin-bottom: 15px;\"><\/div>\n                <div id=\"score-message\" style=\"color: #047857;\"><\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <!-- SECTION VI - ID\u00c9E D'IMAGE -->\n    <div style=\"background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);\">\n        <h2 style=\"color: #8b5cf6; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; display: flex; align-items: center;\">\n            <span style=\"margin-right: 10px;\">\ud83d\uddbc\ufe0f<\/span> 6. Id\u00e9e d'image pour m\u00e9moriser\n        <\/h2>\n        \n        <div style=\"background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); padding: 30px; border-radius: 10px; border: 2px solid #7dd3fc; text-align: center;\">\n            <div style=\"background: white; padding: 25px; border-radius: 8px; display: inline-block; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 20px;\">\n                <div style=\"font-size: 4rem; margin-bottom: 15px;\">\ud83d\udc65\ud83c\udf33\ud83d\udc67\ud83d\udc66<\/div>\n                <p style=\"font-weight: bold; color: #0369a1; font-size: 1.3rem; margin: 0;\">Deux personnes qui discutent devant un parc avec des enfants<\/p>\n            <\/div>\n            \n            <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px;\">\n                <div style=\"background: white; padding: 15px; border-radius: 8px; text-align: left;\">\n                    <p style=\"color: #0369a1; margin: 0 0 10px 0; font-weight: bold;\">\ud83c\udfaf \u00c9l\u00e9ments \u00e0 visualiser :<\/p>\n                    <ul style=\"color: #0369a1; margin: 0; padding-left: 20px;\">\n                        <li>Deux adultes qui parlent<\/li>\n                        <li>Un parc avec des arbres<\/li>\n                        <li>Des enfants qui jouent<\/li>\n                        <li>Des bancs dans le parc<\/li>\n                    <\/ul>\n                <\/div>\n                \n                <div style=\"background: white; padding: 15px; border-radius: 8px; text-align: left;\">\n                    <p style=\"color: #0369a1; margin: 0 0 10px 0; font-weight: bold;\">\ud83d\udcad Associez cette image \u00e0 :<\/p>\n                    <ul style=\"color: #0369a1; margin: 0; padding-left: 20px;\">\n                        <li>\"Les\u203fenfants\" \u2192 les enfants dans le parc<\/li>\n                        <li>\"Vous\u203favez\" \u2192 les adultes qui parlent<\/li>\n                        <li>Le parc \u2192 lieu de la conversation<\/li>\n                    <\/ul>\n                <\/div>\n            <\/div>\n            \n            <div style=\"background: #fef3c7; padding: 15px; border-radius: 8px; margin-top: 20px; border: 1px solid #fbbf24;\">\n                <p style=\"color: #92400e; margin: 0; font-weight: bold;\">\ud83c\udf1f Conseil de m\u00e9morisation :<\/p>\n                <p style=\"color: #92400e; margin: 8px 0 0 0;\">Fermez les yeux et imaginez cette sc\u00e8ne. Chaque fois que vous pensez aux liaisons obligatoires, visualisez ce parc et cette conversation !<\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        \/\/ Variables pour suivre les r\u00e9ponses\n        let exerciseAnswers = {};\n        let exerciseCompleted = false;\n\n        \/\/ R\u00e9ponses correctes\n        const correctAnswers = {\n            1: 'oui',  \/\/ les\u203fenfants\n            2: 'oui',  \/\/ vous\u203favez\n            3: 'oui'   \/\/ un\u203farbre (bonus)\n        };\n\n        \/\/ Fonction pour v\u00e9rifier une r\u00e9ponse\n        function checkExerciseAnswer(questionNum, answer) {\n            if (exerciseCompleted) return;\n            \n            \/\/ Stocker la r\u00e9ponse\n            exerciseAnswers[questionNum] = answer;\n            \n            \/\/ D\u00e9sactiver les boutons pour cette question\n            document.getElementById(`btn${questionNum}-oui`).disabled = true;\n            document.getElementById(`btn${questionNum}-non`).disabled = true;\n            \n            \/\/ Afficher le r\u00e9sultat\n            const resultElement = document.getElementById(`result-${questionNum}`);\n            \n            if (answer === correctAnswers[questionNum]) {\n                resultElement.innerHTML = `\n                    <div style=\"background: #d1fae5; padding: 10px; border-radius: 6px; border: 2px solid #10b981;\">\n                        <p style=\"margin: 0; color: #047857; font-weight: bold;\">\u2705 Correct ! Excellente r\u00e9ponse.<\/p>\n                        <p style=\"margin: 8px 0 0 0; color: #047857;\">La liaison est bien obligatoire ici.<\/p>\n                    <\/div>\n                `;\n            } else {\n                resultElement.innerHTML = `\n                    <div style=\"background: #fee2e2; padding: 10px; border-radius: 6px; border: 2px solid #ef4444;\">\n                        <p style=\"margin: 0; color: #991b1b; font-weight: bold;\">\u274c Attention !<\/p>\n                        <p style=\"margin: 8px 0 0 0; color: #991b1b;\">La bonne r\u00e9ponse \u00e9tait : <strong>${correctAnswers[questionNum]}<\/strong><\/p>\n                    <\/div>\n                `;\n            }\n            \n            resultElement.style.display = 'block';\n        }\n\n        \/\/ Fonction pour v\u00e9rifier toutes les r\u00e9ponses\n        function checkAllAnswers() {\n            exerciseCompleted = true;\n            \n            \/\/ Compter les bonnes r\u00e9ponses\n            let correctCount = 0;\n            const totalQuestions = Object.keys(correctAnswers).length;\n            \n            for (let i = 1; i <= totalQuestions; i++) {\n                if (exerciseAnswers[i] === correctAnswers[i]) {\n                    correctCount++;\n                }\n                \n                \/\/ D\u00e9sactiver tous les boutons restants\n                if (!exerciseAnswers[i]) {\n                    document.getElementById(`btn${i}-oui`).disabled = true;\n                    document.getElementById(`btn${i}-non`).disabled = true;\n                }\n            }\n            \n            \/\/ Calculer le score\n            const score = Math.round((correctCount \/ totalQuestions) * 100);\n            \n            \/\/ Afficher le r\u00e9sultat\n            const scoreContainer = document.getElementById('score-container');\n            const scoreText = document.getElementById('score-text');\n            const scoreMessage = document.getElementById('score-message');\n            \n            scoreText.innerHTML = `<strong>Score : ${score}%<\/strong> (${correctCount}\/${totalQuestions} bonnes r\u00e9ponses)`;\n            \n            let message = '';\n            if (score === 100) {\n                message = '\ud83c\udf89 F\u00e9licitations ! Vous ma\u00eetrisez parfaitement les liaisons obligatoires !';\n            } else if (score >= 70) {\n                message = '\ud83d\udc4d Tr\u00e8s bien ! Vous avez compris l\\'essentiel des liaisons obligatoires.';\n            } else if (score >= 50) {\n                message = '\ud83d\udcda Pas mal ! Revoyez les exemples et r\u00e9essayez.';\n            } else {\n                message = '\ud83d\udcaa Continuez \u00e0 pratiquer ! Les liaisons deviendront naturelles avec l\\'exercice.';\n            }\n            \n            scoreMessage.innerHTML = message;\n            scoreContainer.style.display = 'block';\n            \n            \/\/ Faire d\u00e9filer jusqu'au score\n            scoreContainer.scrollIntoView({ behavior: 'smooth' });\n        }\n\n        \/\/ Fonction pour r\u00e9initialiser l'exercice\n        function resetExercise() {\n            exerciseAnswers = {};\n            exerciseCompleted = false;\n            \n            \/\/ R\u00e9activer tous les boutons\n            for (let i = 1; i <= 3; i++) {\n                document.getElementById(`btn${i}-oui`).disabled = false;\n                document.getElementById(`btn${i}-non`).disabled = false;\n                document.getElementById(`result-${i}`).style.display = 'none';\n            }\n            \n            \/\/ Cacher le score\n            document.getElementById('score-container').style.display = 'none';\n        }\n    <\/script>\n<\/div>\n<div class=\"gsp_post_data\" \r\n\t            data-post_type=\"dt_lessons\" \r\n\t            data-cat=\"\" \r\n\t            data-modified=\"120\"\r\n\t            data-created=\"1764774748\"\r\n\t            data-title=\"21. Les liaisons obligatoires\" \r\n\t            data-home=\"https:\/\/activities.myyaformation.com\/en\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd17 Le\u00e7on 21 \u2013 Les liaisons obligatoires Apprenez \u00e0 reconna\u00eetre et \u00e0 prononcer les liaisons obligatoires en fran\u00e7ais \ud83d\udcd8 1. Explication simple La liaison obligatoire est un petit son qui [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","class_list":["post-14983","dt_lessons","type-dt_lessons","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/14983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons"}],"about":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/types\/dt_lessons"}],"author":[{"embeddable":true,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/comments?post=14983"}],"version-history":[{"count":4,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/14983\/revisions"}],"predecessor-version":[{"id":14996,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/14983\/revisions\/14996"}],"wp:attachment":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/media?parent=14983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}