{"id":15022,"date":"2025-12-04T18:49:02","date_gmt":"2025-12-04T17:49:02","guid":{"rendered":"https:\/\/activities.myyaformation.com\/?post_type=dt_lessons&#038;p=15022"},"modified":"2025-12-04T18:49:08","modified_gmt":"2025-12-04T17:49:08","slug":"24-limparfait","status":"publish","type":"dt_lessons","link":"https:\/\/activities.myyaformation.com\/en\/lessons\/24-limparfait\/","title":{"rendered":"24. The Imperfect Tense"},"content":{"rendered":"<!DOCTYPE html>\n<html lang=\"fr\">\n<div style=\"max-width: 900px; margin: 0 auto; padding: 20px; background-color: #f5f9ff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6;\">\n    <div style=\"background: white; border-radius: 15px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-left: 6px solid #FF9800;\">\n        <h1 style=\"color: #1e3c72; border-bottom: 2px solid #eaeaea; padding-bottom: 10px; margin-bottom: 20px; text-align: center;\">24. The Imperfect Tense<\/h1>\n        \n        <div style=\"background: linear-gradient(to right, #fff8f0, #fff0e6); padding: 20px; border-radius: 10px; margin-bottom: 20px;\">\n            <h2 style=\"color: #2a5298; margin-bottom: 15px;\">Explanation<\/h2>\n            <p style=\"margin-bottom: 15px;\">The imperfect tense is used for:<\/p>\n            <div style=\"display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px;\">\n                <div style=\"flex: 1; min-width: 200px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.05);\">\n                    <p style=\"color: #FF9800; font-weight: bold;\">\u2022 Describe<\/p>\n                <\/div>\n                <div style=\"flex: 1; min-width: 200px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.05);\">\n                    <p style=\"color: #FF9800; font-weight: bold;\">\u2022 Talking about habits<\/p>\n                <\/div>\n                <div style=\"flex: 1; min-width: 200px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.05);\">\n                    <p style=\"color: #FF9800; font-weight: bold;\">\u2022 Talking about a long-term situation<\/p>\n                <\/div>\n            <\/div>\n            <p style=\"color: #1e3c72; font-weight: bold; background: #ffe6cc; padding: 15px; border-radius: 8px; border-left: 4px solid #FF9800;\">Formation: base of &quot;nous&quot; in the present tense + endings: -ais, -ais, -ait, -ions, -iez, -aient<\/p>\n        <\/div>\n        \n        <div style=\"background: #f0f7ff; padding: 20px; border-radius: 10px; margin-bottom: 20px;\">\n            <h2 style=\"color: #2a5298; margin-bottom: 15px;\">Examples<\/h2>\n            <div style=\"display: flex; flex-wrap: wrap; gap: 15px;\">\n                <div style=\"flex: 1; min-width: 200px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.05);\">\n                    <p style=\"color: #FF9800; font-weight: bold;\">\u2022 When I was little, I played a lot.<\/p>\n                <\/div>\n                <div style=\"flex: 1; min-width: 200px; background: white; padding: 15px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.05);\">\n                    <p style=\"color: #FF9800; font-weight: bold;\">\u2022 It was cold.<\/p>\n                <\/div>\n            <\/div>\n        <\/div>\n        \n        <div style=\"background: #fff0e6; padding: 20px; border-radius: 10px; margin-bottom: 25px; border-left: 4px solid #FF9800;\">\n            <h2 style=\"color: #2a5298; margin-bottom: 15px;\">Mini-situation<\/h2>\n            <p style=\"font-style: italic; color: #555;\">Before, <strong>I was working<\/strong> in a large factory. Every day, <strong>I was starting<\/strong> at 7am.<\/p>\n        <\/div>\n        \n        <div style=\"background: #fffbf9; padding: 25px; border-radius: 10px; border: 2px dashed #ffd6b3;\">\n            <h2 style=\"color: #2a5298; margin-bottom: 20px;\">Interactive exercise<\/h2>\n            <p style=\"margin-bottom: 20px;\">Select the correct form in the imperfect tense:<\/p>\n            \n            <div id=\"question1\" style=\"margin-bottom: 15px; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);\">\n                <p style=\"font-weight: bold; margin-bottom: 15px;\">When I was a child, I _________ every day at the park.<\/p>\n                <div style=\"display: flex; flex-wrap: wrap; gap: 10px;\">\n                    <button onclick=\"selectAnswer(this, 'result1', true)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">I was playing<\/button>\n                    <button onclick=\"selectAnswer(this, 'result1', false)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">plays<\/button>\n                    <button onclick=\"selectAnswer(this, 'result1', false)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">I played<\/button>\n                <\/div>\n                <div id=\"result1\" style=\"margin-top: 15px; padding: 12px; border-radius: 6px; display: none;\"><\/div>\n            <\/div>\n            \n            <div id=\"question2\" style=\"margin-bottom: 15px; padding: 15px; background: white; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);\">\n                <p style=\"font-weight: bold; margin-bottom: 15px;\">Yesterday, it was very hot.<\/p>\n                <div style=\"display: flex; flex-wrap: wrap; gap: 10px;\">\n                    <button onclick=\"selectAnswer(this, 'result2', false)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">do<\/button>\n                    <button onclick=\"selectAnswer(this, 'result2', true)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">made<\/button>\n                    <button onclick=\"selectAnswer(this, 'result2', false)\" style=\"padding: 12px 20px; border: 2px solid #ffd6b3; background: white; border-radius: 6px; cursor: pointer; transition: all 0.3s;\">did<\/button>\n                <\/div>\n                <div id=\"result2\" style=\"margin-top: 15px; padding: 12px; border-radius: 6px; display: none;\"><\/div>\n            <\/div>\n            \n            <button onclick=\"showScore()\" style=\"background-color: #FF9800; color: white; border: none; padding: 14px 28px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; margin-top: 20px; display: block; margin-left: auto; margin-right: auto;\">See my score<\/button>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nlet correctAnswers = 0;\n\nfunction selectAnswer(button, resultId, isCorrect) {\n    const questionDiv = button.parentElement.parentElement;\n    const buttons = questionDiv.querySelectorAll('button');\n    \n    buttons.forEach(btn => {\n        btn.style.backgroundColor = 'white';\n        btn.style.color = '#333';\n    });\n    \n    button.style.backgroundColor = isCorrect ? '#4CAF50' : '#f44336';\n    button.style.color = 'white';\n    \n    const resultDiv = document.getElementById(resultId);\n    if (isCorrect) {\n        resultDiv.innerHTML = '<p style=\"color: #4CAF50; font-weight: bold;\">\u2713 Parfait ! C\\'est bien l\\'imparfait.<\/p>';\n        resultDiv.style.backgroundColor = '#e8f5e9';\n        correctAnswers++;\n    } else {\n        resultDiv.innerHTML = '<p style=\"color: #f44336; font-weight: bold;\">\u2717 Ce n\\'est pas la forme \u00e0 l\\'imparfait.<\/p>';\n        resultDiv.style.backgroundColor = '#ffebee';\n    }\n    resultDiv.style.display = 'block';\n}\n\nfunction showScore() {\n    const totalQuestions = 2;\n    const percentage = (correctAnswers \/ totalQuestions) * 100;\n    let message;\n    \n    if (percentage === 100) {\n        message = 'Excellent ! Vous ma\u00eetrisez parfaitement l\\'imparfait !';\n    } else if (percentage >= 50) {\n        message = 'Bien ! Vous comprenez l\\'imparfait.';\n    } else {\n        message = 'Continuez \u00e0 pratiquer !';\n    }\n    \n    alert(`${correctAnswers}\/${totalQuestions} bonnes r\u00e9ponses\\n${message}`);\n}\n<\/script>\n<\/html>\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=\"1764874142\"\r\n\t            data-title=\"24. L&rsquo;imparfait\" \r\n\t            data-home=\"https:\/\/activities.myyaformation.com\/en\"><\/div>","protected":false},"excerpt":{"rendered":"<p>24. L&rsquo;imparfait Explication On utilise l&rsquo;imparfait pour : \u2022 D\u00e9crire \u2022 Parler d&rsquo;habitudes \u2022 Parler d&rsquo;une situation longue Formation : base de \u00ab nous \u00bb au pr\u00e9sent + terminaisons : [&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-15022","dt_lessons","type-dt_lessons","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15022","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=15022"}],"version-history":[{"count":1,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15022\/revisions"}],"predecessor-version":[{"id":15026,"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/dt_lessons\/15022\/revisions\/15026"}],"wp:attachment":[{"href":"https:\/\/activities.myyaformation.com\/en\/wp-json\/wp\/v2\/media?parent=15022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}