{"id":15044,"date":"2025-12-05T16:14:17","date_gmt":"2025-12-05T15:14:17","guid":{"rendered":"https:\/\/activities.myyaformation.com\/?post_type=dt_lessons&#038;p=15044"},"modified":"2025-12-05T16:14:25","modified_gmt":"2025-12-05T15:14:25","slug":"lecon-14-imparfait-verbes-irreguliers","status":"publish","type":"dt_lessons","link":"https:\/\/activities.myyaformation.com\/en\/lessons\/lecon-14-imparfait-verbes-irreguliers\/","title":{"rendered":"Le\u00e7on 14 : Imparfait &#8211; Verbes irr\u00e9guliers"},"content":{"rendered":"\n<!-- LE\u00c7ON 14 : Imparfait - Verbes irr\u00e9guliers -->\n<div style=\"margin:0; padding:20px; background-color:#f0f7ff; font-family:Arial, sans-serif;\">\n    <div style=\"max-width:1000px; margin:20px auto; background-color:white; border-radius:15px; box-shadow:0 5px 15px rgba(0,0,100,0.1); padding:30px;\">\n        \n        <h1 style=\"color:#2c3e50; text-align:center; margin-top:0; padding-bottom:15px; border-bottom:2px solid #f39c12; font-size:2rem;\">\n            Le\u00e7on 14 : Imparfait - Verbes irr\u00e9guliers\n        <\/h1>\n        \n        <div style=\"background-color:#fef5e7; padding:20px; border-radius:10px; border-left:5px solid #f39c12; margin:20px 0;\">\n            <h2 style=\"color:#d35400; margin-top:0; font-size:1.4rem;\">R\u00e8gle :<\/h2>\n            <p style=\"margin:0; font-size:1.1rem;\">\n                Quelques verbes ont une base irr\u00e9guli\u00e8re \u00e0 l'imparfait :<br>\n                \u2022 <strong>\u00catre<\/strong> \u2192 \u00e9t-<br>\n                \u2022 <strong>Avoir<\/strong> \u2192 av-<br>\n                \u2022 <strong>Faire<\/strong> \u2192 fais-\n            <\/p>\n        <\/div>\n        \n        <h2 style=\"color:#d35400; margin-top:25px; font-size:1.4rem;\">Conjugaison des irr\u00e9guliers :<\/h2>\n        <div style=\"background-color:#f9f9f9; padding:15px; border-radius:8px; margin:15px 0;\">\n            <p style=\"margin:5px 0;\"><strong>\u00eatre<\/strong> : j'\u00e9tais, tu \u00e9tais, il \u00e9tait, nous \u00e9tions, vous \u00e9tiez, ils \u00e9taient<\/p>\n            <p style=\"margin:5px 0;\"><strong>avoir<\/strong> : j'avais, tu avais, il avait, nous avions, vous aviez, ils avaient<\/p>\n            <p style=\"margin:5px 0;\"><strong>faire<\/strong> : je faisais, tu faisais, il faisait, nous faisions, vous faisiez, ils faisaient<\/p>\n        <\/div>\n        \n        <h2 style=\"color:#d35400; margin-top:25px; font-size:1.4rem;\">Phrases mod\u00e8les :<\/h2>\n        <div style=\"display:flex; flex-wrap:wrap; gap:15px; margin:20px 0;\">\n            <div style=\"flex:1; min-width:250px; background-color:#fef5e7; padding:15px; border-radius:8px; border-left:4px solid #f39c12;\">\n                <p style=\"margin:0;\"><strong>J'\u00e9tais fatigu\u00e9(e).<\/strong><\/p>\n            <\/div>\n            <div style=\"flex:1; min-width:250px; background-color:#fef5e7; padding:15px; border-radius:8px; border-left:4px solid #f39c12;\">\n                <p style=\"margin:0;\"><strong>Nous avions beaucoup de travail.<\/strong><\/p>\n            <\/div>\n            <div style=\"flex:1; min-width:250px; background-color:#fef5e7; padding:15px; border-radius:8px; border-left:4px solid #f39c12;\">\n                <p style=\"margin:0;\"><strong>Ils faisaient du sport.<\/strong><\/p>\n            <\/div>\n        <\/div>\n        \n        <div style=\"background-color:#fff8e1; padding:20px; border-radius:10px; margin:20px 0; border:1px dashed #f39c12;\">\n            <h2 style=\"color:#d35400; margin-top:0; font-size:1.4rem;\">Mise en situation :<\/h2>\n            <p style=\"margin:10px 0; font-size:1.1rem;\">\n                Avant, Lina vivait \u00e0 la campagne. Il y avait une petite \u00e9cole, et elle faisait beaucoup de promenades.\n            <\/p>\n        <\/div>\n        \n        <h2 style=\"color:#d35400; margin-top:25px; font-size:1.4rem;\">Vocabulaire utile :<\/h2>\n        <div style=\"display:flex; flex-wrap:wrap; gap:10px; margin:15px 0;\">\n            <span style=\"background-color:#fdebd0; padding:8px 15px; border-radius:20px; font-weight:bold; color:#2c3e50;\">campagne<\/span>\n            <span style=\"background-color:#fdebd0; padding:8px 15px; border-radius:20px; font-weight:bold; color:#2c3e50;\">\u00e9cole<\/span>\n            <span style=\"background-color:#fdebd0; padding:8px 15px; border-radius:20px; font-weight:bold; color:#2c3e50;\">promenades<\/span>\n            <span style=\"background-color:#fdebd0; padding:8px 15px; border-radius:20px; font-weight:bold; color:#2c3e50;\">maison<\/span>\n            <span style=\"background-color:#fdebd0; padding:8px 15px; border-radius:20px; font-weight:bold; color:#2c3e50;\">village<\/span>\n        <\/div>\n        \n        <div style=\"background-color:#e8f5e9; padding:25px; border-radius:10px; margin:25px 0;\">\n            <h2 style=\"color:#27ae60; margin-top:0; font-size:1.4rem;\">Exercice : Choisis la bonne forme<\/h2>\n            \n            <div id=\"feedback14-1\" style=\"padding:10px; margin:10px 0; border-radius:5px; display:none;\"><\/div>\n            \n            <div style=\"margin-bottom:20px;\">\n                <p style=\"font-weight:bold; color:#27ae60; margin-bottom:15px;\">1. Il (\u00eatre) ...<\/p>\n                <div style=\"display:flex; gap:20px; flex-wrap:wrap;\" id=\"question14-1\">\n                    <div style=\"padding:10px 20px; background-color:white; border:2px solid #27ae60; border-radius:5px; cursor:pointer; margin:5px; transition:all 0.3s;\" \n                         onclick=\"checkAnswer14(this, '\u00e9tait', true, 1)\">\n                        \u00e9tait\n                    <\/div>\n                    <div style=\"padding:10px 20px; background-color:white; border:2px solid #27ae60; border-radius:5px; cursor:pointer; margin:5px; transition:all 0.3s;\" \n                         onclick=\"checkAnswer14(this, '\u00eatre', false, 1)\">\n                        \u00eatre\n                    <\/div>\n                <\/div>\n            <\/div>\n            \n            <div id=\"feedback14-2\" style=\"padding:10px; margin:10px 0; border-radius:5px; display:none;\"><\/div>\n            \n            <div style=\"margin-bottom:20px;\">\n                <p style=\"font-weight:bold; color:#27ae60; margin-bottom:15px;\">2. Nous (faire) ...<\/p>\n                <div style=\"display:flex; gap:20px; flex-wrap:wrap;\" id=\"question14-2\">\n                    <div style=\"padding:10px 20px; background-color:white; border:2px solid #27ae60; border-radius:5px; cursor:pointer; margin:5px; transition:all 0.3s;\" \n                         onclick=\"checkAnswer14(this, 'faisions', true, 2)\">\n                        faisions\n                    <\/div>\n                    <div style=\"padding:10px 20px; background-color:white; border:2px solid #27ae60; border-radius:5px; cursor:pointer; margin:5px; transition:all 0.3s;\" \n                         onclick=\"checkAnswer14(this, 'faisons', false, 2)\">\n                        faisons\n                    <\/div>\n                <\/div>\n            <\/div>\n            \n            <div style=\"font-weight:bold; color:#2c3e50; margin-top:20px;\" id=\"score14\">Score : 0\/2<\/div>\n            \n            <button style=\"padding:10px 20px; background-color:#f39c12; color:white; border:none; border-radius:5px; cursor:pointer; margin-top:20px; font-weight:bold;\" \n                    onclick=\"resetExercise14()\">\n                Recommencer l'exercice\n            <\/button>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\n    let score14 = 0;\n    let totalQuestions14 = 2;\n    let answeredQuestions14 = new Set();\n\n    function checkAnswer14(element, answer, isCorrect, questionNum) {\n        if (answeredQuestions14.has(questionNum)) return;\n        \n        answeredQuestions14.add(questionNum);\n        \n        const options = document.querySelectorAll(`#question14-${questionNum} > div`);\n        options.forEach(opt => {\n            opt.style.cursor = 'default';\n            opt.onclick = null;\n        });\n        \n        if (isCorrect) {\n            element.style.backgroundColor = '#a5d6a7';\n            element.style.color = '#1b5e20';\n            element.style.borderColor = '#1b5e20';\n            score14++;\n            showFeedback14(questionNum, \"\u2705 Excellent ! Tu as bien conjugu\u00e9 le verbe irr\u00e9gulier.\", 'success');\n        } else {\n            element.style.backgroundColor = '#ffcdd2';\n            element.style.color = '#c62828';\n            element.style.borderColor = '#c62828';\n            options.forEach(opt => {\n                if (opt.getAttribute('onclick') && opt.getAttribute('onclick').includes('true')) {\n                    opt.style.backgroundColor = '#a5d6a7';\n                    opt.style.color = '#1b5e20';\n                    opt.style.borderColor = '#1b5e20';\n                }\n            });\n            showFeedback14(questionNum, \"\u274c Attention ! Souviens-toi : '\u00eatre' \u2192 j'\u00e9tais, 'avoir' \u2192 j'avais, 'faire' \u2192 je faisais.\", 'error');\n        }\n        \n        updateScore14();\n        checkCompletion14();\n    }\n\n    function showFeedback14(questionNum, message, type) {\n        const feedbackDiv = document.getElementById(`feedback14-${questionNum}`);\n        feedbackDiv.textContent = message;\n        feedbackDiv.style.display = 'block';\n        feedbackDiv.style.backgroundColor = type === 'success' ? '#d4edda' : '#f8d7da';\n        feedbackDiv.style.color = type === 'success' ? '#155724' : '#721c24';\n        feedbackDiv.style.border = `1px solid ${type === 'success' ? '#c3e6cb' : '#f5c6cb'}`;\n    }\n\n    function updateScore14() {\n        document.getElementById('score14').textContent = `Score : ${score14}\/${totalQuestions14}`;\n    }\n\n    function checkCompletion14() {\n        if (answeredQuestions14.size === totalQuestions14) {\n            let message = '';\n            if (score14 === totalQuestions14) {\n                message = \"\ud83c\udf89 Parfait ! Tu ma\u00eetrises l'imparfait des verbes irr\u00e9guliers !\";\n            } else if (score14 >= totalQuestions14\/2) {\n                message = \"\ud83d\udc4d Bon travail ! N'oublie pas les bases irr\u00e9guli\u00e8res : \u00e9t-, av-, fais-\";\n            } else {\n                message = \"\ud83d\udcaa R\u00e9essaie ! Souviens-toi : \u00eatre \u2192 \u00e9t-, avoir \u2192 av-, faire \u2192 fais-\";\n            }\n            \n            const finalMessage = document.createElement('div');\n            finalMessage.style.padding = '10px';\n            finalMessage.style.margin = '10px 0';\n            finalMessage.style.borderRadius = '5px';\n            finalMessage.style.backgroundColor = '#d1ecf1';\n            finalMessage.style.color = '#0c5460';\n            finalMessage.style.border = '1px solid #bee5eb';\n            finalMessage.textContent = message;\n            finalMessage.style.display = 'block';\n            \n            const exerciseDiv = document.querySelector('button[onclick=\"resetExercise14()\"]').parentNode;\n            exerciseDiv.insertBefore(finalMessage, document.querySelector('button[onclick=\"resetExercise14()\"]'));\n        }\n    }\n\n    function resetExercise14() {\n        score14 = 0;\n        answeredQuestions14.clear();\n        \n        const allOptions = document.querySelectorAll('#question14-1 > div, #question14-2 > div');\n        allOptions.forEach(option => {\n            option.style.backgroundColor = 'white';\n            option.style.color = '#27ae60';\n            option.style.borderColor = '#27ae60';\n            option.style.cursor = 'pointer';\n            \n            const onclickAttr = option.getAttribute('onclick');\n            if (onclickAttr) {\n                const isCorrect = onclickAttr.includes('true');\n                const questionNum = onclickAttr.includes('checkAnswer14(this') ? \n                    onclickAttr.match(\/checkAnswer14\\(this, '[^']+', (true|false), (\\d)\/)[2] : 1;\n                const answerMatch = onclickAttr.match(\/checkAnswer14\\(this, '([^']+)'\/);\n                const answerText = answerMatch ? answerMatch[1] : '';\n                \n                option.onclick = function() {\n                    checkAnswer14(this, answerText, isCorrect, questionNum);\n                };\n            }\n        });\n        \n        const feedbacks = document.querySelectorAll('[id^=\"feedback14-\"]');\n        feedbacks.forEach(feedback => {\n            feedback.style.display = 'none';\n            feedback.textContent = '';\n        });\n        \n        const finalMsg = document.querySelector('button[onclick=\"resetExercise14()\"]').previousElementSibling;\n        if (finalMsg && finalMsg.style) {\n            finalMsg.remove();\n        }\n        \n        updateScore14();\n    }\n\n    updateScore14();\n<\/script>\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=\"1764951257\"\r\n\t            data-title=\"Le\u00e7on 14 : Imparfait &#8211; Verbes irr\u00e9guliers\" \r\n\t            data-home=\"https:\/\/activities.myyaformation.com\/en\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Le\u00e7on 14 : Imparfait &#8211; Verbes irr\u00e9guliers R\u00e8gle : Quelques verbes ont une base irr\u00e9guli\u00e8re \u00e0 l&rsquo;imparfait : \u2022 \u00catre \u2192 \u00e9t- \u2022 Avoir \u2192 av- \u2022 Faire \u2192 fais- [&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-15044","dt_lessons","type-dt_lessons","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15044","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=15044"}],"version-history":[{"count":1,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15044\/revisions"}],"predecessor-version":[{"id":15049,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15044\/revisions\/15049"}],"wp:attachment":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/media?parent=15044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}