From b7c903b434d2c52b650c5d7be6d06b0e636676d1 Mon Sep 17 00:00:00 2001 From: freeCodeCamp's Camper Bot Date: Tue, 16 Apr 2024 03:25:52 +0530 Subject: [PATCH] chore(i18n,learn): processed translations (#54399) --- .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ ...t-to-the-content-using-the-main-element.md | 2 +- .../override-styles-in-subsequent-css.md | 2 +- .../turn-an-image-into-a-link.md | 2 +- .../6559d86fe1b8947954b9178d.md | 2 +- .../6551fe3b1df7c9740f13f270.md | 2 +- .../check-if-binary-search-tree.md | 2 +- .../cat-and-dog-image-classifier.md | 2 +- .../build-a-technical-documentation-page.md | 2 +- .../6147a14ef5668b5881ef2297.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../5f356ed69db0a491745e2bb6.md | 2 +- .../5f356ed6cf6eab5f15f5cfe6.md | 4 +- .../5dc174fcf86c76b9248c6eb2.md | 2 +- .../5dc24614f86c76b9248c6ebd.md | 12 +- .../5ddbd81294d8ddc1510a8e56.md | 6 +- .../5dfa22d1b521be39a3de7be0.md | 12 +- .../5dfa2407b521be39a3de7be1.md | 6 +- .../5dfa30b9eacea3f48c6300ad.md | 16 +-- .../5ef9b03c81a63668521804e9.md | 2 +- .../5f07be6ef7412fbad0c5626b.md | 2 +- .../62dabe2ef403a12d5d295273.md | 4 +- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../635090f47eb6d9563a6fed05.md | 2 +- .../6352ea3a5b79e614ee2282fd.md | 2 +- .../5d5a813321b9e3db6c106a46.md | 2 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../62aa2aec2f09d454253aad6c.md | 2 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../63e9de47885cd4d08c29f8e2.md | 2 +- .../63e9e5bcec5d33d21b82397e.md | 2 +- .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../problem-284-steady-squares.md | 2 +- .../problem-419-look-and-say-sequence.md | 2 +- .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ ...t-to-the-content-using-the-main-element.md | 2 +- .../override-styles-in-subsequent-css.md | 2 +- .../turn-an-image-into-a-link.md | 2 +- .../6559d86fe1b8947954b9178d.md | 2 +- .../6551fe3b1df7c9740f13f270.md | 2 +- .../check-if-binary-search-tree.md | 2 +- .../cat-and-dog-image-classifier.md | 2 +- .../build-a-technical-documentation-page.md | 2 +- .../6147a14ef5668b5881ef2297.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../5f356ed69db0a491745e2bb6.md | 2 +- .../5f356ed6cf6eab5f15f5cfe6.md | 4 +- .../5dc174fcf86c76b9248c6eb2.md | 2 +- .../5dc24614f86c76b9248c6ebd.md | 12 +- .../5ddbd81294d8ddc1510a8e56.md | 6 +- .../5dfa22d1b521be39a3de7be0.md | 12 +- .../5dfa2407b521be39a3de7be1.md | 6 +- .../5dfa30b9eacea3f48c6300ad.md | 16 +-- .../5ef9b03c81a63668521804e9.md | 2 +- .../5f07be6ef7412fbad0c5626b.md | 2 +- .../62dabe2ef403a12d5d295273.md | 4 +- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../635090f47eb6d9563a6fed05.md | 2 +- .../6352ea3a5b79e614ee2282fd.md | 2 +- .../5d5a813321b9e3db6c106a46.md | 2 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../62aa2aec2f09d454253aad6c.md | 2 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../63e9de47885cd4d08c29f8e2.md | 2 +- .../63e9e5bcec5d33d21b82397e.md | 2 +- .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../problem-284-steady-squares.md | 2 +- .../problem-419-look-and-say-sequence.md | 2 +- .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../cat-and-dog-image-classifier.md | 2 +- .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ .../5f33071498eb2472b87ddee4.md | 17 ++- .../615f887466db4ba14b5342cc.md | 9 +- .../615f89e055040ba294719d2f.md | 2 +- .../615f8bfe0f30a1a3c340356b.md | 2 +- .../615f8f1223601fa546e93f31.md | 2 +- .../615f905fbd1017a65ca224eb.md | 2 +- .../615f94786869e1a7fec54375.md | 2 +- .../615f951dff9317a900ef683f.md | 4 +- .../643c0ab6779047014ca69b4f.md | 4 +- .../62a23c1d505bfa13747c8a9b.md | 6 +- .../641daae5e18eae4b562633e4.md | 4 +- .../65004ba581d03d1d5628b41c.md | 10 ++ .../645cbb5ab1296e49946adb6e.md | 2 +- .../6607343c7909e562a2e3d94c.md | 2 +- .../660736bde759eb64c3bd15c3.md | 6 +- .../learn-function-basics-question-a.md | 48 +++++++ .../learn-function-basics-question-b.md | 52 ++++++++ .../learn-function-basics-question-c.md | 62 ++++++++++ .../learn-function-basics-question-d.md | 56 +++++++++ .../learn-function-basics-question-e.md | 74 +++++++++++ .../learn-function-basics-question-f.md | 52 ++++++++ .../651dd5296ffb500e3f2ce479.md | 2 +- .../655283c039eb38f51e0e6f7e.md | 8 +- .../65529784e7cb6e24eb03a1af.md | 2 +- .../6568c759cb59e810dfaa1506.md | 2 +- .../656a2b1c7216c026fcd156c7.md | 2 +- .../656a52da3392f631b9f3e022.md | 8 +- .../656a533c5a7e5231e15b93b4.md | 10 +- .../656a538cc4109d3209f5f536.md | 4 +- .../656a54278a4df6323549e8f9.md | 10 +- .../656a549c4d9b91326cfe1863.md | 6 +- .../656a554956201b329a0d182a.md | 12 +- .../656a55ea17414032d482d278.md | 10 +- .../656a56f89acf253314e9f6d6.md | 18 +-- .../656a575febfa2c333c495c2f.md | 2 +- .../656a57d2c0603e33638c7770.md | 18 +-- .../656a584f57a1a9338e3cb347.md | 6 +- .../656a58b31bc9f233debc2bc9.md | 2 +- .../656ab31ebccec247fde7cee4.md | 4 +- .../656ab3bfc9e49d4841672043.md | 18 +-- .../656ab4205a4054486ef3b691.md | 6 +- .../656ab48697d63748952254a4.md | 6 +- .../656ab50005c38348b94da7a3.md | 10 +- .../656ab5a3ee689949124d2e39.md | 12 +- .../656ab61f20aa9d494cee5466.md | 10 +- .../656ab66db70b464974489b79.md | 4 +- .../656ab6f67515b149a377009d.md | 10 +- .../656ab76473a1ee49d537698d.md | 18 +-- .../656ab7e9be47c04a2518dbed.md | 18 +-- .../656ab828bd06214a51193f3d.md | 6 +- .../656ab8a1d294e14a920320d2.md | 18 +-- .../656aba8d560d3c4b069ae7a8.md | 8 +- .../656abac861f4a04b312b0421.md | 4 +- .../656abb977f9ecf4b821aed11.md | 18 +-- .../656abcd4cccfc84bf50f861b.md | 10 +- .../656abd3412f31c4c2483de5c.md | 10 +- .../656abe0ac290774c4de173d4.md | 12 +- .../656cad88af98af049df17177.md | 18 +-- .../656caddea3aba304c6172571.md | 6 +- .../656caf2085b7ab04ff9a6b3f.md | 10 +- .../656caf89ead43c0523378566.md | 10 +- .../656cb0b3e4e30f0550131acd.md | 4 +- .../656cb18802ef22057a58db13.md | 18 +-- .../656cb2526a741405b2b34870.md | 2 +- .../656cb2ee9d60f205d362b1de.md | 12 +- .../656cb3592aa0460609993b10.md | 18 +-- .../656cb39802398f062c461e2c.md | 4 +- .../656cb3f8df42660676854d29.md | 10 +- .../656cbad538b114095fb14c0e.md | 2 +- .../656d2600b0ffa811dac3853f.md | 4 +- .../656d27a603926f1288bafcc0.md | 4 +- .../656d283b7ba56912bb2ceb06.md | 2 +- .../6606682f3fbb93838673920d.md | 14 +++ .../66066c563917c5874b792337.md | 39 ++++++ .../660681a717d84e89da14f6f4.md | 53 ++++++++ .../660682b572c0bb8aa3075feb.md | 49 ++++++++ .../6606838ecf64478b53a51496.md | 53 ++++++++ .../660683e649f8fa8bbd5baac5.md | 29 +++++ .../66068414094b3a8c10a4770d.md | 53 ++++++++ .../6606846eba453e8c7bacb2f7.md | 53 ++++++++ .../660684bfc24bf48cfaaf9cfa.md | 39 ++++++ .../660686845b5e788def3527ca.md | 93 ++++++++++++++ .../66068a6d0bb2aa90f0d93979.md | 14 +++ .../66068ad667567091500128c5.md | 48 +++++++ .../66068b650b681c91de9e19a0.md | 59 +++++++++ .../66068bf9c9046292705b856d.md | 53 ++++++++ .../66068c5cfc7a4992f2574ab2.md | 39 ++++++ .../66068d4033a07d9393291ef0.md | 53 ++++++++ .../66068f5b2b7dda9450a7cc2c.md | 53 ++++++++ .../66068fc7aa2fe094c5cb84bd.md | 45 +++++++ .../6606906b3f31fc953f1ee3b6.md | 117 ++++++++++++++++++ .../660694cf7803c598ce999171.md | 14 +++ .../6606952c28640e9941c8fa29.md | 47 +++++++ .../660695c672854899d6862834.md | 53 ++++++++ .../660696292c16659a5e9ccf81.md | 53 ++++++++ .../660696cce3e4e79af4612466.md | 53 ++++++++ .../66069719acca7d9b59499ce9.md | 53 ++++++++ .../6606977e8f0b509bdac39012.md | 53 ++++++++ .../660697f307c6559c60e976f7.md | 41 ++++++ .../6606989c34f0be9d141130b1.md | 117 ++++++++++++++++++ curriculum/dictionaries/arabic/comments.json | 3 +- .../chinese-traditional/comments.json | 3 +- curriculum/dictionaries/chinese/comments.json | 3 +- curriculum/dictionaries/espanol/comments.json | 3 +- curriculum/dictionaries/german/comments.json | 3 +- curriculum/dictionaries/italian/comments.json | 3 +- .../dictionaries/japanese/comments.json | 3 +- curriculum/dictionaries/korean/comments.json | 3 +- .../dictionaries/portuguese/comments.json | 3 +- curriculum/dictionaries/swahili/comments.json | 3 +- .../dictionaries/ukrainian/comments.json | 3 +- 685 files changed, 20549 insertions(+), 650 deletions(-) create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md create mode 100644 curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md create mode 100644 curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md diff --git a/curriculum/challenges/arabic/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/arabic/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index f43cc60a47c..3e374f37cdc 100644 --- a/curriculum/challenges/arabic/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/arabic/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Now it is your turn! Set each of the variables in this cell correctly. (They sho Create image generators for each of the three image data sets (train, validation, test). Use `ImageDataGenerator` to read / decode the images and convert them into floating point tensors. Use the `rescale` argument (and no other arguments for now) to rescale the tensors from values between 0 and 255 to values between 0 and 1. -For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay is in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. +For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. After you run the code, the output should look like this: diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 0d95ad82467..75864cfe93d 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -كما تعلمت في الخطوات القليلة الأخيرة من Cat App Photo، هناك بنية أساسية مطلوبة لبدء بناء صفحة الويب الخاصة بك. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +كما تعلمت في الخطوات القليلة الأخيرة من Cat App Photo، هناك بنية أساسية مطلوبة لبدء بناء صفحة الويب الخاصة بك. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` أضف العلامة (tag) الآتي ``، وعنصر `html` مع سمة (attribute) تسمى `lang` بقيمة `en`. # --hints-- -يجب أن يكون لديك تعريف `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -يجب أن يكون لديك علامة `` فتح مع سمة `lang` بقيمة `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -يجب أن يكون لديك علامة إغلاق الآتي ``. تذكر أن علامات الإغلاق (closing tags) تحتوي على `/` بعد فتح `<` القوس. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index bf3358cbb6e..a44d576b5e8 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -بعد آخر divider، قم بإنشاء عنصر `p` آخر بالنص `Protein 3g`. استخدم الـ classes اللازمة لإزالة الحدود السفلية (bottom border)، و `span` لجعل `Protein` يبدو bold. +بعد آخر divider، قم بإنشاء عنصر `p` آخر بالنص `Protein 3g`. استخدم الـ classes اللازمة لإزالة الحدود السفلية (bottom border)، و `span` لجعل `Protein` يبدو bold. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. بعد هذا العنصر، أنشئ divider كبيرا. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + يجب أن يحتوي عنصر `div` الجديد على سمة `class` بقيمة `divider large`. ```js diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index fbdfaa5c9b3..404ba7c1076 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 9639f625ff4..ef2425f41f0 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 7418ccf4b5a..b1858ebe872 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 9052ec2ca92..f6f19ee5f47 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 118992f653c..7b59e2fb9b9 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index a5b2740f9fb..6637b31e207 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index ce3d52e302d..fd824e3707a 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 4c6ee1fcbe3..5014d0e8dd9 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index 5ec6849d724..9117ef2029f 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/arabic/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/arabic/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/chinese-traditional/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md b/curriculum/challenges/chinese-traditional/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md index f8eeb02b827..431ea7746de 100644 --- a/curriculum/challenges/chinese-traditional/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md +++ b/curriculum/challenges/chinese-traditional/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md @@ -29,7 +29,7 @@ Camper Cat 對他的忍者武器頁面有一些新的想法。 請幫他在 `hea assert($('main').length == 1); ``` -`main` 標籤應位於 `header` 標籤與 `footer` 標籤之間。 +`main` 標籤應位於 `header` 結束標籤與 `footer` 開始標籤之間。 ```js assert(code.match(/<\/header>\s*?
\s*?<\/main>/gi)); diff --git a/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md b/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md index ade69e82531..2add7eee3ff 100644 --- a/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md +++ b/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md @@ -19,7 +19,7 @@ dashedName: override-styles-in-subsequent-css 將 `blue-text` class 應用於 `h1` 元素,看看它和該元素上的 `pink-text` class 哪一個會優先顯示。 -Applying multiple class attributes to an HTML element is done with a space between them like this: +對一個 HTML 元素應用多個 class 屬性時,它們之間可以用空格隔開,就像這樣: ```html class="class1 class2" diff --git a/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md b/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md index 83ccb41ec66..7810956fb83 100644 --- a/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md +++ b/curriculum/challenges/chinese-traditional/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md @@ -33,7 +33,7 @@ dashedName: turn-an-image-into-a-link assert($('a').children('img').length > 0); ``` -Your `a` element should be a dead link with an `href` attribute set to `#`. +你的 `a` 元素應該是一個死鏈接,具有值爲 `#` 的 `href` 屬性。 ```js assert(new RegExp('#').test($('a').children('img').parent().attr('href'))); diff --git a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md index 66deccc0fdf..c832fe6e758 100644 --- a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md +++ b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md @@ -13,7 +13,7 @@ Before the `print` call, add an `if` statement to execute when `node` is equal t # --hints-- -You should nest an `if` statement to check that `node` is equal to `start` inside your `for` loop. +你應該在 `for` 循環中嵌套一個 `if` 語句,以檢查 `node` 是否等於 `start` 。 ```js ({ test: () => { diff --git a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md index 074c15b2e19..444ab47411f 100644 --- a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md +++ b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md @@ -10,7 +10,7 @@ dashedName: step-12 Key aspects of variable naming in Python are: - Some words are reserved keywords (e.g. `for`, `while`, `True`). They have a special meaning in Python, so you cannot use them for variable names. -- Variable names cannot start with a number, and they can only contain alpha-numeric characters or underscores. +- 變量名稱不能以數字開頭,它們只能包含字母、數字和下劃線。 - Variable names are case sensitive, i.e. `my_var` is different from `my_Var` and `MY_VAR`. - Finally, it is a common convention to write variable names using `snake_case`, where each space is replaced by an underscore character and the words are written in lowercase letters. diff --git a/curriculum/challenges/chinese-traditional/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md b/curriculum/challenges/chinese-traditional/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md index db3165a4b73..bb95edfe045 100644 --- a/curriculum/challenges/chinese-traditional/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md +++ b/curriculum/challenges/chinese-traditional/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md @@ -18,7 +18,7 @@ In this challenge, you will create a utility for your tree. Write a JavaScript m # --hints-- -Your Binary Search Tree should return true when checked with `isBinarySearchTree()`. +你的二叉搜索樹如果使用 `isBinarySearchTree()` 進行檢查,應該返回 true。 ```js assert( diff --git a/curriculum/challenges/chinese-traditional/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/chinese-traditional/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index cdf916647f6..fe8a291bde8 100644 --- a/curriculum/challenges/chinese-traditional/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/chinese-traditional/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ cats_and_dogs 爲三個圖像數據集(訓練、驗證、測試)中的每一個創建圖像生成器。 使用 `ImageDataGenerator` 讀取/解碼圖像並將它們轉換爲浮點張量。 使用 `rescale` 參數(目前沒有其他參數)將張量從 0 到 255 之間的值重新縮放到 0 到 1 之間的值。 -對於 `*_data_gen` 變量,使用 `flow_from_directory` 方法。 傳入批處理大小、目錄、目標大小(`(IMG_HEIGHT, IMG_WIDTH)`)、類模式以及其他所需的內容。 `test_data_gen` 將是最棘手的一個。 對於 `test_data_gen`,確保將 `shuffle=False` 傳遞給 `flow_from_directory` 方法。 這將確保最終預測保持在我們的測試預期的順序。 對於 `test_data_gen`,觀察目錄結構也很有幫助。 +對於 `*_data_gen` 變量,使用 `flow_from_directory` 方法。 傳入批處理大小、目錄、目標大小(`(IMG_HEIGHT, IMG_WIDTH)`)、類模式以及其他所需的內容。 `test_data_gen` 將是最棘手的一個。 對於 `test_data_gen`,確保將 `shuffle=False` 傳遞給 `flow_from_directory` 方法。 This will make sure the final predictions stay in the order that our test expects. 對於 `test_data_gen`,觀察目錄結構也很有幫助。 運行代碼後,輸出應如下所示: diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md index 171b5134c9c..33770e7749f 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md @@ -148,7 +148,7 @@ const els = document.querySelectorAll('a.nav-link') assert(els.length >= 1) ``` -你所有的 `.nav-link` 元素都應該是錨點(`a`)元素。 +你所有的 `.nav-link` 元素都應該是錨元素(`a`)。 ```js const els = document.querySelectorAll('.nav-link') diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md index 1802a498022..14d9fb1f860 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md @@ -7,7 +7,7 @@ dashedName: step-47 # --description-- -要使導航按鈕看起來更像典型按鈕,從錨點標籤中移除下劃線。 +要使導航按鈕看起來更像典型按鈕,從錨標籤中移除下劃線。 然後,創建一個針對導航列表元素的新選擇器,以便當光標懸停在它們上方時, 背景顏色和文字顏色被切換,光標變成指針。 diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index e10842050c9..2428c099bff 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -正如你在 Cat Photo App 的最後幾個步驟中所學習的那樣,開始構建你的網頁需要一個基本結構。 +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +正如你在 Cat Photo App 的最後幾個步驟中所學習的那樣,開始構建你的網頁需要一個基本結構。 Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` 添加 `` 標記和具有值爲 `en` 的 `lang` 屬性的 `html` 元素。 # --hints-- -需要先聲明 `DOCTYPE`。 +You should have the `` declaration. ```js assert(code.match(//i)); ``` -你應該有一個帶有值爲 `en` 的 `lang` 屬性的 `` 開始標籤。 +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -你需要一個 `` 結束標籤。 別忘了結束標籤是在開始的 `<` 後有一個 `/`。 +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md index f8095a2e487..e28876b3bbe 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md @@ -11,7 +11,7 @@ To apply the class's styling to the `div` element, remove the `id` attribute and # --hints-- -你的 `div` 仍然應該渲染。 確保你沒有對 `
` 標籤進行格式化。 +你的 `div` 仍然應該渲染。 確保你沒有改變 `
` 標籤。 ```js assert($('div').length === 1); diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md index 31b1b47512b..5bb4a3b4c42 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md @@ -9,11 +9,11 @@ dashedName: step-20 `div` 元素主要用於設計佈局,這與你迄今爲止使用的其他內容元素不同。 在 `body` 元素內添加一個 `div` 元素,然後將所有其他元素移到新的 `div` 內。 -Inside the opening `div` tag, add the `id` attribute with a value of `menu`. +在 `div` 開始標籤中,添加一個值爲 `menu` 的 `id` 屬性。 # --hints-- -Your opening `
` tag should have an `id` attribute set to `menu`. +你的 `div` 開始標籤的 `id` 屬性值應爲 `menu`。 ```js const div = $('div')[0]; diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md index e3dd48f4a71..33202f333de 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md @@ -11,7 +11,7 @@ HTML elements have opening tags like `

` and closing tags like `

`. The t Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch the change in the browser preview. -When you are done, press the "Check Your Code" button to see if it's correct. +完成後,按“檢查你的代碼”按鈕查看代碼是否正確。 # --hints-- diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md index ad315c6d563..3f9db5824a5 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md @@ -7,9 +7,9 @@ dashedName: step-10 # --description-- -你可以使用錨點元素(`a`)鏈接到另一個頁面。 例如 `` 會鏈接到 `freecodecamp.org`。 +你可以使用錨元素(`a`)鏈接到另一個頁面。 例如 `` 會鏈接到 `freecodecamp.org`。 -在段落下方添加一個錨點元素並鏈接到 `https://freecatphotoapp.com`。 此時,鏈接不會出現在預覽中。 +在段落下方添加一個錨元素並鏈接到 `https://freecatphotoapp.com`。 此時,鏈接不會出現在預覽中。 # --hints-- @@ -25,7 +25,7 @@ assert(document.querySelector('a')); assert(code.match(/<\/a\>/)); ``` -你的錨點元素(`a`)應該在 `p` 元素的下方。 你把順序寫錯了。 +你的錨元素(`a`)應該在 `p` 元素的下方。 你把順序寫錯了。 ```js const collection = [...document.querySelectorAll('a, p')].map( @@ -34,13 +34,13 @@ const collection = [...document.querySelectorAll('a, p')].map( assert(collection.indexOf('P') < collection.indexOf('A')); ``` -你的錨點元素(`a`)缺少 `href` 屬性。 請檢查在開始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 +你的錨元素(`a`)缺少 `href` 屬性。 請檢查在開始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 ```js assert(document.querySelector('a').hasAttribute('href')); ``` -你的錨點元素(`a`)應該鏈接到 `https://freecatphotoapp.com`。 你可能省略了這個 URL 或者有拼寫錯誤。 +你的錨元素(`a`)應該鏈接到 `https://freecatphotoapp.com`。 你可能省略了這個 URL 或者有拼寫錯誤。 ```js assert( @@ -49,7 +49,7 @@ assert( ); ``` -雖然你將錨點元素(a)的 `href` 屬性指向了正確的鏈接,但建議始終以引號來包裹屬性的值。 +雖然你將錨元素(a)的 `href` 屬性指向了正確的鏈接,但建議始終以引號來包裹屬性的值。 ```js assert( diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md index ba2eb74c05b..cef84a80cf5 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md @@ -9,11 +9,11 @@ dashedName: step-11 鏈接的文本必須放置在錨點元素(`a`)的起始和閉合標籤之間。 例如,`click here to go to freeCodeCamp.org` 就是一個包含着文本 `click here to go to freeCodeCamp.org` 的鏈接。 -將錨點文本 `link to cat pictures` 添加到錨點元素中。 這將成爲鏈接的文本。 +將錨文本 `link to cat pictures` 添加到錨元素中。 這將成爲鏈接的文本。 # --hints-- -你的錨點元素(`a`)應該有一個起始標籤。 起始標籤的書寫語法爲:``。 +你的錨元素(`a`)應該有一個開始標籤。 起始標籤的書寫語法爲:``。 ```js assert(document.querySelector('a')); @@ -25,7 +25,7 @@ assert(document.querySelector('a')); assert(code.match(/<\/a\>/)); ``` -你的錨點元素(`a`)中的文本應該是 `link to cat pictures`。 確保將鏈接的文本放置在錨點元素(`a`)的起始和閉合標籤之間。 +你的錨元素(`a`)中的文本應該是 `link to cat pictures`。 確保將鏈接的文本放置在錨元素(`a`)的開始和結束標籤之間。 ```js assert( diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md index 3ecb798c28f..3efcd5f14f7 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md @@ -7,25 +7,25 @@ dashedName: step-12 # --description-- -You can turn any text into a link, such as the text inside of a `p` element. +你可以將任何文本轉化爲一個鏈接,例如 `p` 元素內部的文本。 ``` html

I think freeCodeCamp is great.

``` -In the text of your `p` element, turn the words `cat photos` into a link by adding opening and closing anchor (`a`) tags around these words. Then set the `href` attribute to `https://freecatphotoapp.com` +在 `p` 元素的文本中,在 `cat photos` 周圍添加開始和結束錨標籤(`a`),將這些字樣轉化爲鏈接。 然後將 `href` 屬性設置爲 `https://freecatphotoapp.com`。 # --hints-- -你應該在 `p` 元素中嵌套一個新的錨點(`a`)元素。 +你應該在 `p` 元素中嵌套一個新的錨元素(`a`)。 ```js const nestedAnchor = document.querySelector(`p > a`); assert.isNotNull(nestedAnchor) ``` -鏈接的 `href` 值應爲 `https://freecatphotoapp.com`。 你可能落下了 `href` 值或者有拼寫有誤。 +鏈接的 `href` 值應爲 `https://freecatphotoapp.com`。 你可能忽略了 `href` 值或者有拼寫有誤。 ```js assert( @@ -41,7 +41,7 @@ const innerContent = nestedAnchor.innerHTML; assert.isTrue(innerContent.trim() === 'cat photos'); ``` -The text inside your anchor element has extra leading or trailing whitespace. The only space in the anchor text should be between the word `cat` and the word `photos`. +錨元素中的文本有額外的前導或尾隨空格。 錨文本中唯一的空格應位於 `cat` 和 `photos` 之間。 ```js const nestedAnchor = document.querySelector('p > a'); @@ -49,7 +49,7 @@ const innerContent = nestedAnchor.innerHTML; assert.isNotTrue(/^\s+|\s+$/.test(innerContent)); ``` -After nesting the anchor (`a`) element, the only `p` element content visible in the browser should be `See more cat photos in our gallery.` Double check the text, spacing, or punctuation of both the `p` and nested anchor element. +在嵌套了錨元素(`a`)之後,瀏覽器中顯示的 `p` 元素應該僅爲 `See more cat photos in our gallery.`。再次檢查 `p` 和嵌套在其中的錨元素的文本、間距或標點。 ```js assert.match(code, /

see more ]*>cat photos<\/a> in our gallery\.?<\/p>/i) diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md index c7eced800ef..0a7cf4d2c43 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md @@ -7,11 +7,11 @@ dashedName: step-14 # --description-- -向錨點元素(`a`)的起始標籤中添加值爲 `_blank` 的 `target` 屬性,用以在新的標籤頁中打開鏈接。 +向錨元素(`a`)的開始標籤中添加值爲 `_blank` 的 `target` 屬性,用以在新的標籤頁中打開鏈接。 # --hints-- -你的 `p` 元素應該嵌套着一個寫着文本 `cat photos` 的錨點元素(`a`)。 你可能刪除了它或有拼寫錯誤。 +你的 `p` 元素應該嵌套一個文本爲 `cat photos` 的錨元素(`a`)。 你可能刪除了它或有拼寫錯誤。 ```js const anchor = $('p > a'); @@ -21,7 +21,7 @@ assert( ); ``` -你的錨點元素(`a`)缺少一個 `target` 屬性。 請檢查在起始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 +你的錨元素(`a`)缺少一個 `target` 屬性。 請檢查在起始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 ```js assert(document.querySelector('a').hasAttribute('target')); diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md index 2d300983bba..ca7cda43ab9 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md @@ -7,9 +7,9 @@ dashedName: step-15 # --description-- -在之前的步驟中,你使用了錨點元素將文本轉換爲鏈接。 也可以把其他類型的內容放在錨標籤中,將其轉換成一個鏈接。 +在之前的步驟中,你使用了錨元素將文本轉換爲鏈接。 也可以把其他類型的內容放在錨標籤中,將其轉換成一個鏈接。 -用必要的元素標籤包裹圖片,把它變成一個鏈接。 使用 `https://freecatphotoapp.com` 作爲錨點元素中 `href` 屬性的值。 +用必要的元素標籤包裹圖片,把它變成一個鏈接。 使用 `https://freecatphotoapp.com` 作爲錨元素中 `href` 屬性的值。 # --hints-- @@ -23,7 +23,7 @@ assert( ); ``` -你的錨點元素(`a`)應該有一個開始標籤。 開始標籤的語法是:``。 +你的錨元素(`a`)應該有一個開始標籤。 開始標籤的語法是:``。 ```js assert(document.querySelectorAll('a').length >= 2); @@ -35,25 +35,25 @@ You are missing a closing (`a`) tag after the image. assert(document.querySelectorAll('a').length === 2); ``` -你的錨點元素(`a`)應該有一個結束標籤。 結束標籤在 `<` 字符後面要有一個 `/`。 +你的錨元素(`a`)應該有一個結束標籤。 結束標籤在 `<` 字符後面要有一個 `/`。 ```js assert(code.match(/<\/a>/g).length >= 2); ``` -你應該只添加一個錨點(`a`)結束標籤。 請刪除多餘的。 +你應該只添加一個結束錨(`a`)標籤。 請刪除多餘的。 ```js assert(code.match(/<\/a>/g).length === 2); ``` -你的錨點元素(`a`)缺少 `href` 屬性。 請檢查確認在開始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 +你的錨元素(`a`)缺少 `href` 屬性。 請檢查確認在開始標籤的名稱後面要有一個空格,且所有的屬性名稱前面也要有一個空格。 ```js assert(document.querySelector('a').hasAttribute('href')); ``` -你的錨點元素(`a`)應該鏈接到 `https://freecatphotoapp.com`。 你可能省略了這個 URL 或者有拼寫錯誤。 +你的錨元素(`a`)應該鏈接到 `https://freecatphotoapp.com`。 你可能省略了這個 URL 或者有拼寫錯誤。 ```js assert( @@ -62,7 +62,7 @@ assert( ); ``` -你的 `img` 元素應該被嵌套在錨點元素(`a`)之中。 整個 `img` 元素應該置於錨點元素(`a`)的開始標籤和結束標籤之間。 +你的 `img` 元素應該被嵌套在錨元素(`a`)之中。 整個 `img` 元素應該置於錨元素(`a`)的開始標籤和結束標籤之間。 ```js assert(document.querySelector('img').parentNode.nodeName === 'A'); diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md index 5b83a6ec310..1a8938955d4 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md @@ -24,7 +24,7 @@ const aElemClosingTags = code.match(/<\/a\>/g); assert(aElemClosingTags && aElemClosingTags.length === 3); ``` -你的錨點(`a`)元素應該有一個 `href` 屬性,其值爲 `https://www.freecodecamp.org`。 你可能忽略了屬性/值,或者有拼寫錯誤。 +你的錨元素(`a`)應該有一個 `href` 屬性,其值爲 `https://www.freecodecamp.org`。 你可能忽略了屬性/值,或者有拼寫錯誤。 ```js const nestedAnchor = $('footer > p > a')[0]; diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md index 72e730cd5e9..8c77715452c 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md @@ -9,7 +9,7 @@ dashedName: step-16 在添加任何新內容之前,你應該使用 `section` 元素將貓咪照片內容與未來的內容分開。 -將你的 `h2` 元素、註釋、`p` 元素和錨點(`a`)元素嵌套在一個 `section` 元素中。 +將你的 `h2` 元素、註釋、`p` 元素和錨元素(`a`)嵌套在一個 `section` 元素中。 # --hints-- diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md index f55cb2c8646..fa1f9441b0f 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md @@ -7,7 +7,7 @@ dashedName: step-13 # --description-- -現在將 `p` 元素中的文本 `cat photos` 變成了鏈接, 已經不需要 `p` 元素下面的第二個鏈接了。 刪除 `p` 元素下面的錨點元素。 +現在將 `p` 元素中的文本 `cat photos` 變成了鏈接, 已經不需要 `p` 元素下面的第二個鏈接了。 刪除 `p` 元素下面的錨元素。 # --hints-- @@ -17,7 +17,7 @@ Your code should only have one paragraph (`p`) element. assert.isTrue(document.querySelectorAll('p').length === 1); ``` -你的代碼應該只包含一個錨點元素(`a`)。 +你的代碼應該只包含一個錨元素(`a`)。 ```js assert.isTrue(document.querySelectorAll('a').length === 1); diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 2618776fc79..f4539127078 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -在最後一個分隔符之後,使用文本 `Protein 3g` 創建另一個 `p` 元素。 使用必要的類來刪除底部邊框,並使用 `span` 使 `Protein` 加粗。 +在最後一個分隔符之後,使用文本 `Protein 3g` 創建另一個 `p` 元素。 使用必要的類來刪除底部邊框,並使用 `span` 使 `Protein` 加粗。 Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. 在這個元素之後,創建一個大分隔線。 @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + 你的新 `div` 應該將 `class` 屬性設置爲 `divider large`。 ```js diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 72d849374f4..f59c269c91d 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 1463f06cfdc..0274d0df7d0 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index d6217ac2987..f8eeccd912a 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 043342b22a1..599d0a8e935 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index e3a1ed33fdb..3730ac859d2 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 26938bd0c30..466f24a38e4 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md index 97bb9ef0e04..9f46622bd52 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md @@ -25,7 +25,7 @@ Your `getMedian` function should have a `median` variable. assert.match(getMedian.toString(), /median\s*=/); ``` -Your `median` variable should use a ternary operator to check if the `array.length` is even. +你的 `median` 變量應該使用三元運算符來檢查 `array.length` 是否爲偶數。 ```js assert.match(getMedian.toString(), /median\s*=\s*array\.length\s*%\s*2\s*===\s*0\s*\?/); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md index 2e40b9bd62b..f19e163a529 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md @@ -27,7 +27,7 @@ Your `if` statement should create a new `Set` and pass the `Object.values()` of assert.match(getMode.toString(), /if\s*\(\s*new\s+Set\s*\(\s*Object\.values\s*\(\s*counts\s*\)/); ``` -Your `if` statement should check if the `size` property of the new `Set` is equal to `1`. +你的 `if` 語句應該檢查新 `Set` 的 `size` 屬性是否等於 `1`。 ```js assert.match(getMode.toString(), /if\s*\(\s*new\s+Set\s*\(\s*Object\.values\s*\(\s*counts\s*\)\s*\)\s*\.size\s*===\s*1/); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md index 5ac41d406d6..bd3e7d1f06c 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md @@ -53,7 +53,7 @@ Your `html` element should have a closing tag. assert(code.match(/<\/html\s*>/)); ``` -Your `DOCTYPE` declaration should be at the beginning of your HTML. +你的 `DOCTYPE` 聲明應位於 HTML 的開頭。 ```js assert(__helpers.removeHtmlComments(code).match(/^\s*/i)); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index 7802d641166..3bad00c2727 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ assert.equal(span?.id, 'xpText'); const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` 第一個 `.stat` 元素的文本仍應爲 `XP: 0`。 @@ -91,7 +91,7 @@ assert.equal(span?.id, 'healthText'); const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` 第二個 `.stat` 元素的文本仍應爲 `Health: 100`。 @@ -133,7 +133,7 @@ assert.equal(span?.id, 'goldText'); const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` 第三個 `.stat` 元素的文本仍應爲 `Gold: 50`。 diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md index 98475155ee9..cd33b8b4b61 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md @@ -18,7 +18,7 @@ const match = pick.toString().match(/if/g); assert.isAtLeast(match.length, 2); ``` -Your `if` statement should check if the player's `health` is less than or equal to `0`. +你的 `if` 語句應該檢查玩家的 `health` 是否小於或等於 `0`。 ```js assert.match(pick.toString(), /if\s*\(\s*health\s*<=\s*0\s*\)/); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 15ef9c2bc4b..26f62342cd3 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md index 00e8c76be99..6e7225f0629 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md @@ -19,7 +19,7 @@ First, create an empty function called `checkUserInput`. assert.isFunction(checkUserInput); ``` -Your `checkUserInput` function should be empty. +`checkUserInput` 函數應爲空。 ```js assert.match(String(checkUserInput), /\{\s*\}/); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md index 369bd78973f..1c1a444fb68 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md @@ -13,7 +13,7 @@ Within the `checkUserInput` function, use `console.log()` to log the `value` of # --hints-- -Your `console.log()` call should be inside the `checkUserInput` function. +`checkUserInput` 函數中應包含 `console.log()` 語句。 ```js assert.match(String(checkUserInput), /console\.log\(\s*.*/); diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index 49eefdeb8d2..2930ec40530 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md index 57f0e11c56b..d905f1fde60 100644 --- a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md +++ b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md @@ -12,7 +12,7 @@ The 3-digit number 376 in the decimal numbering system is an example of numbers 在其他編號系統中也可以看到穩定的正方形。 In the base 14 numbering system, the 3-digit number $c37$ is also a steady square: $c37^2 = aa0c37$, and the sum of its digits is $c+3+7=18$ in the same numbering system. The letters $a$, $b$, $c$ and $d$ are used for the 10, 11, 12 and 13 digits respectively, in a manner similar to the hexadecimal numbering system. -For $1 ≤ n ≤ 9$, the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system is $2d8$ (582 decimal). 不允許以0開頭的穩定正方形。 +For $1 ≤ n ≤ 9$, the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system is $2d8$ (582 decimal). 不允許以 0 開頭的穩定正方形。 Find the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system for $1 ≤ n ≤ 10000$ (decimal) and give your answer as a string in the base 14 system using lower case letters where necessary. diff --git a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md index 69031bd3e9e..4d94fa2d0e5 100644 --- a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md +++ b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md @@ -10,7 +10,7 @@ dashedName: problem-419-look-and-say-sequence The look and say sequence goes 1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, ... -該序列以1開頭,並且所有其他成員都是通過用連續數字描述前一個成員而獲得的。 +該序列以 1 開頭,並且所有其他成員都是通過用連續數字描述前一個成員而獲得的。 大聲地這樣做有助於: diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/chinese-traditional/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md index 3f722f0900b..c3588cb49e0 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md @@ -29,7 +29,7 @@ Camper Cat 对他的忍者武器页面有一些新的想法。 请帮他在 `hea assert($('main').length == 1); ``` -`main` 标签应位于 `header` 标签与 `footer` 标签之间。 +`main` 标签应位于 `header` 结束标签与 `footer` 开始标签之间。 ```js assert(code.match(/<\/header>\s*?
\s*?<\/main>/gi)); diff --git a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md index f1c177f6125..b50c8122794 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/basic-css/override-styles-in-subsequent-css.md @@ -19,7 +19,7 @@ dashedName: override-styles-in-subsequent-css 将 `blue-text` class 应用于 `h1` 元素,看看它和该元素上的 `pink-text` class 哪一个会优先显示。 -Applying multiple class attributes to an HTML element is done with a space between them like this: +对一个 HTML 元素应用多个 class 属性时,它们之间可以用空格隔开,就像这样: ```html class="class1 class2" diff --git a/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md b/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md index 8b87e1da933..e274ee68c6c 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/turn-an-image-into-a-link.md @@ -33,7 +33,7 @@ dashedName: turn-an-image-into-a-link assert($('a').children('img').length > 0); ``` -Your `a` element should be a dead link with an `href` attribute set to `#`. +你的 `a` 元素应该是一个死链接,具有值为 `#` 的 `href` 属性。 ```js assert(new RegExp('#').test($('a').children('img').parent().attr('href'))); diff --git a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md index c04445703a7..427679cc8da 100644 --- a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md +++ b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-algorithm-design-by-building-a-shortest-path-algorithm/6559d86fe1b8947954b9178d.md @@ -13,7 +13,7 @@ Before the `print` call, add an `if` statement to execute when `node` is equal t # --hints-- -You should nest an `if` statement to check that `node` is equal to `start` inside your `for` loop. +你应该在 `for` 循环中嵌套一个 `if` 语句,以检查 `node` 是否等于 `start` 。 ```js ({ test: () => { diff --git a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md index 074c15b2e19..7bed165f328 100644 --- a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md +++ b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher/6551fe3b1df7c9740f13f270.md @@ -10,7 +10,7 @@ dashedName: step-12 Key aspects of variable naming in Python are: - Some words are reserved keywords (e.g. `for`, `while`, `True`). They have a special meaning in Python, so you cannot use them for variable names. -- Variable names cannot start with a number, and they can only contain alpha-numeric characters or underscores. +- 变量名称不能以数字开头,它们只能包含字母、数字和下划线。 - Variable names are case sensitive, i.e. `my_var` is different from `my_Var` and `MY_VAR`. - Finally, it is a common convention to write variable names using `snake_case`, where each space is replaced by an underscore character and the words are written in lowercase letters. diff --git a/curriculum/challenges/chinese/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md b/curriculum/challenges/chinese/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md index db3165a4b73..fe51f5026fa 100644 --- a/curriculum/challenges/chinese/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md +++ b/curriculum/challenges/chinese/10-coding-interview-prep/data-structures/check-if-binary-search-tree.md @@ -18,7 +18,7 @@ In this challenge, you will create a utility for your tree. Write a JavaScript m # --hints-- -Your Binary Search Tree should return true when checked with `isBinarySearchTree()`. +你的二叉搜索树如果使用 `isBinarySearchTree()` 进行检查,应该返回 true。 ```js assert( diff --git a/curriculum/challenges/chinese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/chinese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index d68bf071a0e..bdbb7a8d826 100644 --- a/curriculum/challenges/chinese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/chinese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ cats_and_dogs 为三个图像数据集(训练、验证、测试)中的每一个创建图像生成器。 使用 `ImageDataGenerator` 读取/解码图像并将它们转换为浮点张量。 使用 `rescale` 参数(目前没有其他参数)将张量从 0 到 255 之间的值重新缩放到 0 到 1 之间的值。 -对于 `*_data_gen` 变量,使用 `flow_from_directory` 方法。 传入批处理大小、目录、目标大小(`(IMG_HEIGHT, IMG_WIDTH)`)、类模式以及其他所需的内容。 `test_data_gen` 将是最棘手的一个。 对于 `test_data_gen`,确保将 `shuffle=False` 传递给 `flow_from_directory` 方法。 这将确保最终预测保持在我们的测试预期的顺序。 对于 `test_data_gen`,观察目录结构也很有帮助。 +对于 `*_data_gen` 变量,使用 `flow_from_directory` 方法。 传入批处理大小、目录、目标大小(`(IMG_HEIGHT, IMG_WIDTH)`)、类模式以及其他所需的内容。 `test_data_gen` 将是最棘手的一个。 对于 `test_data_gen`,确保将 `shuffle=False` 传递给 `flow_from_directory` 方法。 This will make sure the final predictions stay in the order that our test expects. 对于 `test_data_gen`,观察目录结构也很有帮助。 运行代码后,输出应如下所示: diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md b/curriculum/challenges/chinese/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md index 510afc13564..ff6760d602e 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/build-a-technical-documentation-page-project/build-a-technical-documentation-page.md @@ -148,7 +148,7 @@ const els = document.querySelectorAll('a.nav-link') assert(els.length >= 1) ``` -你所有的 `.nav-link` 元素都应该是锚点(`a`)元素。 +你所有的 `.nav-link` 元素都应该是锚元素(`a`)。 ```js const els = document.querySelectorAll('.nav-link') diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md index 75d1be800af..d7ba523d7e3 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6147a14ef5668b5881ef2297.md @@ -7,7 +7,7 @@ dashedName: step-47 # --description-- -要使导航按钮看起来更像典型按钮,从锚点标签中移除下划线。 +要使导航按钮看起来更像典型按钮,从锚标签中移除下划线。 然后,创建一个针对导航列表元素的新选择器,以便当光标悬停在它们上方时, 背景颜色和文字颜色被切换,光标变成指针。 diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 932e44999a9..ad83bed5232 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -正如你在 Cat Photo App 的最后几个步骤中所学习的那样,开始构建你的网页需要一个基本结构。 +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +正如你在 Cat Photo App 的最后几个步骤中所学习的那样,开始构建你的网页需要一个基本结构。 Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` 添加 `` 标记和具有值为 `en` 的 `lang` 属性的 `html` 元素。 # --hints-- -需要先声明 `DOCTYPE`。 +You should have the `` declaration. ```js assert(code.match(//i)); ``` -你应该有一个带有值为 `en` 的 `lang` 属性的 `` 开始标签。 +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -你需要一个 `` 结束标签。 别忘了结束标签是在开始的 `<` 后有一个 `/`。 +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md index 9e69c1d7698..527a5a278ca 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed69db0a491745e2bb6.md @@ -11,7 +11,7 @@ To apply the class's styling to the `div` element, remove the `id` attribute and # --hints-- -你的 `div` 仍然应该渲染。 确保你没有对 `
` 标签进行格式化。 +你的 `div` 仍然应该渲染。 确保你没有改变 `
` 标签。 ```js assert($('div').length === 1); diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md index d30998d1806..d9b5197afb5 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed6cf6eab5f15f5cfe6.md @@ -9,11 +9,11 @@ dashedName: step-20 `div` 元素主要用于设计布局,这与你迄今为止使用的其他内容元素不同。 在 `body` 元素内添加一个 `div` 元素,然后将所有其他元素移到新的 `div` 内。 -Inside the opening `div` tag, add the `id` attribute with a value of `menu`. +在 `div` 开始标签中,添加一个值为 `menu` 的 `id` 属性。 # --hints-- -Your opening `
` tag should have an `id` attribute set to `menu`. +你的 `div` 开始标签的 `id` 属性值应为 `menu`。 ```js const div = $('div')[0]; diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md index 86c896614de..ce21ca00b91 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc174fcf86c76b9248c6eb2.md @@ -11,7 +11,7 @@ HTML elements have opening tags like `

` and closing tags like `

`. The t Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch the change in the browser preview. -When you are done, press the "Check Your Code" button to see if it's correct. +完成后,按“检查你的代码”按钮查看代码是否正确。 # --hints-- diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md index ee944740581..7e361e96f44 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md @@ -7,9 +7,9 @@ dashedName: step-10 # --description-- -你可以使用锚点元素(`a`)链接到另一个页面。 例如 `` 会链接到 `freecodecamp.org`。 +你可以使用锚元素(`a`)链接到另一个页面。 例如 `` 会链接到 `freecodecamp.org`。 -在段落下方添加一个锚点元素并链接到 `https://freecatphotoapp.com`。 此时,链接不会出现在预览中。 +在段落下方添加一个锚元素并链接到 `https://freecatphotoapp.com`。 此时,链接不会出现在预览中。 # --hints-- @@ -25,7 +25,7 @@ assert(document.querySelector('a')); assert(code.match(/<\/a\>/)); ``` -你的锚点元素(`a`)应该在 `p` 元素的下方。 你把顺序写错了。 +你的锚元素(`a`)应该在 `p` 元素的下方。 你把顺序写错了。 ```js const collection = [...document.querySelectorAll('a, p')].map( @@ -34,13 +34,13 @@ const collection = [...document.querySelectorAll('a, p')].map( assert(collection.indexOf('P') < collection.indexOf('A')); ``` -你的锚点元素(`a`)缺少 `href` 属性。 请检查在开始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 +你的锚元素(`a`)缺少 `href` 属性。 请检查在开始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 ```js assert(document.querySelector('a').hasAttribute('href')); ``` -你的锚点元素(`a`)应该链接到 `https://freecatphotoapp.com`。 你可能省略了这个 URL 或者有拼写错误。 +你的锚元素(`a`)应该链接到 `https://freecatphotoapp.com`。 你可能省略了这个 URL 或者有拼写错误。 ```js assert( @@ -49,7 +49,7 @@ assert( ); ``` -虽然你将锚点元素(a)的 `href` 属性指向了正确的链接,但建议始终以引号来包裹属性的值。 +虽然你将锚元素(a)的 `href` 属性指向了正确的链接,但建议始终以引号来包裹属性的值。 ```js assert( diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md index 3e6d1a798ae..fe6d836c4c1 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ddbd81294d8ddc1510a8e56.md @@ -9,11 +9,11 @@ dashedName: step-11 链接的文本必须放置在锚点元素(`a`)的起始和闭合标签之间。 例如,`click here to go to freeCodeCamp.org` 就是一个包含着文本 `click here to go to freeCodeCamp.org` 的链接。 -将锚点文本 `link to cat pictures` 添加到锚点元素中。 这将成为链接的文本。 +将锚文本 `link to cat pictures` 添加到锚元素中。 这将成为链接的文本。 # --hints-- -你的锚点元素(`a`)应该有一个起始标签。 起始标签的书写语法为:``。 +你的锚元素(`a`)应该有一个开始标签。 起始标签的书写语法为:``。 ```js assert(document.querySelector('a')); @@ -25,7 +25,7 @@ assert(document.querySelector('a')); assert(code.match(/<\/a\>/)); ``` -你的锚点元素(`a`)中的文本应该是 `link to cat pictures`。 确保将链接的文本放置在锚点元素(`a`)的起始和闭合标签之间。 +你的锚元素(`a`)中的文本应该是 `link to cat pictures`。 确保将链接的文本放置在锚元素(`a`)的开始和结束标签之间。 ```js assert( diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md index 2118fca4b37..f007667f614 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa22d1b521be39a3de7be0.md @@ -7,25 +7,25 @@ dashedName: step-12 # --description-- -You can turn any text into a link, such as the text inside of a `p` element. +你可以将任何文本转化为一个链接,例如 `p` 元素内部的文本。 ``` html

I think freeCodeCamp is great.

``` -In the text of your `p` element, turn the words `cat photos` into a link by adding opening and closing anchor (`a`) tags around these words. Then set the `href` attribute to `https://freecatphotoapp.com` +在 `p` 元素的文本中,在 `cat photos` 周围添加开始和结束锚标签(`a`),将这些字样转化为链接。 然后将 `href` 属性设置为 `https://freecatphotoapp.com`。 # --hints-- -你应该在 `p` 元素中嵌套一个新的锚点(`a`)元素。 +你应该在 `p` 元素中嵌套一个新的锚元素(`a`)。 ```js const nestedAnchor = document.querySelector(`p > a`); assert.isNotNull(nestedAnchor) ``` -链接的 `href` 值应为 `https://freecatphotoapp.com`。 你可能落下了 `href` 值或者有拼写有误。 +链接的 `href` 值应为 `https://freecatphotoapp.com`。 你可能忽略了 `href` 值或者有拼写有误。 ```js assert( @@ -41,7 +41,7 @@ const innerContent = nestedAnchor.innerHTML; assert.isTrue(innerContent.trim() === 'cat photos'); ``` -The text inside your anchor element has extra leading or trailing whitespace. The only space in the anchor text should be between the word `cat` and the word `photos`. +锚元素中的文本有额外的前导或尾随空格。 锚文本中唯一的空格应位于 `cat` 和 `photos` 之间。 ```js const nestedAnchor = document.querySelector('p > a'); @@ -49,7 +49,7 @@ const innerContent = nestedAnchor.innerHTML; assert.isNotTrue(/^\s+|\s+$/.test(innerContent)); ``` -After nesting the anchor (`a`) element, the only `p` element content visible in the browser should be `See more cat photos in our gallery.` Double check the text, spacing, or punctuation of both the `p` and nested anchor element. +在嵌套了锚元素(`a`)之后,浏览器中显示的 `p` 元素应该仅为 `See more cat photos in our gallery.`。再次检查 `p` 和嵌套在其中的锚元素的文本、间距或标点。 ```js assert.match(code, /

see more ]*>cat photos<\/a> in our gallery\.?<\/p>/i) diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md index dad57601909..37dd8f4d7e6 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa2407b521be39a3de7be1.md @@ -7,11 +7,11 @@ dashedName: step-14 # --description-- -向锚点元素(`a`)的起始标签中添加值为 `_blank` 的 `target` 属性,用以在新的标签页中打开链接。 +向锚元素(`a`)的开始标签中添加值为 `_blank` 的 `target` 属性,用以在新的标签页中打开链接。 # --hints-- -你的 `p` 元素应该嵌套着一个写着文本 `cat photos` 的锚点元素(`a`)。 你可能删除了它或有拼写错误。 +你的 `p` 元素应该嵌套一个文本为 `cat photos` 的锚元素(`a`)。 你可能删除了它或有拼写错误。 ```js const anchor = $('p > a'); @@ -21,7 +21,7 @@ assert( ); ``` -你的锚点元素(`a`)缺少一个 `target` 属性。 请检查在起始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 +你的锚元素(`a`)缺少一个 `target` 属性。 请检查在起始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 ```js assert(document.querySelector('a').hasAttribute('target')); diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md index 52074a849c7..b06fa44b07c 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dfa30b9eacea3f48c6300ad.md @@ -7,9 +7,9 @@ dashedName: step-15 # --description-- -在之前的步骤中,你使用了锚点元素将文本转换为链接。 也可以把其他类型的内容放在锚标签中,将其转换成一个链接。 +在之前的步骤中,你使用了锚元素将文本转换为链接。 也可以把其他类型的内容放在锚标签中,将其转换成一个链接。 -用必要的元素标签包裹图片,把它变成一个链接。 使用 `https://freecatphotoapp.com` 作为锚点元素中 `href` 属性的值。 +用必要的元素标签包裹图片,把它变成一个链接。 使用 `https://freecatphotoapp.com` 作为锚元素中 `href` 属性的值。 # --hints-- @@ -23,7 +23,7 @@ assert( ); ``` -你的锚点元素(`a`)应该有一个开始标签。 开始标签的语法是:``。 +你的锚元素(`a`)应该有一个开始标签。 开始标签的语法是:``。 ```js assert(document.querySelectorAll('a').length >= 2); @@ -35,25 +35,25 @@ You are missing a closing (`a`) tag after the image. assert(document.querySelectorAll('a').length === 2); ``` -你的锚点元素(`a`)应该有一个结束标签。 结束标签在 `<` 字符后面要有一个 `/`。 +你的锚元素(`a`)应该有一个结束标签。 结束标签在 `<` 字符后面要有一个 `/`。 ```js assert(code.match(/<\/a>/g).length >= 2); ``` -你应该只添加一个锚点(`a`)结束标签。 请删除多余的。 +你应该只添加一个结束锚(`a`)标签。 请删除多余的。 ```js assert(code.match(/<\/a>/g).length === 2); ``` -你的锚点元素(`a`)缺少 `href` 属性。 请检查确认在开始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 +你的锚元素(`a`)缺少 `href` 属性。 请检查确认在开始标签的名称后面要有一个空格,且所有的属性名称前面也要有一个空格。 ```js assert(document.querySelector('a').hasAttribute('href')); ``` -你的锚点元素(`a`)应该链接到 `https://freecatphotoapp.com`。 你可能省略了这个 URL 或者有拼写错误。 +你的锚元素(`a`)应该链接到 `https://freecatphotoapp.com`。 你可能省略了这个 URL 或者有拼写错误。 ```js assert( @@ -62,7 +62,7 @@ assert( ); ``` -你的 `img` 元素应该被嵌套在锚点元素(`a`)之中。 整个 `img` 元素应该置于锚点元素(`a`)的开始标签和结束标签之间。 +你的 `img` 元素应该被嵌套在锚元素(`a`)之中。 整个 `img` 元素应该置于锚元素(`a`)的开始标签和结束标签之间。 ```js assert(document.querySelector('img').parentNode.nodeName === 'A'); diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md index 91fddba24a5..7925bee1e96 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5ef9b03c81a63668521804e9.md @@ -24,7 +24,7 @@ const aElemClosingTags = code.match(/<\/a\>/g); assert(aElemClosingTags && aElemClosingTags.length === 3); ``` -你的锚点(`a`)元素应该有一个 `href` 属性,其值为 `https://www.freecodecamp.org`。 你可能忽略了属性/值,或者有拼写错误。 +你的锚元素(`a`)应该有一个 `href` 属性,其值为 `https://www.freecodecamp.org`。 你可能忽略了属性/值,或者有拼写错误。 ```js const nestedAnchor = $('footer > p > a')[0]; diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md index 3ba1a7bed8e..071303155f6 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5f07be6ef7412fbad0c5626b.md @@ -9,7 +9,7 @@ dashedName: step-16 在添加任何新内容之前,你应该使用 `section` 元素将猫咪照片内容与未来的内容分开。 -将你的 `h2` 元素、注释、`p` 元素和锚点(`a`)元素嵌套在一个 `section` 元素中。 +将你的 `h2` 元素、注释、`p` 元素和锚元素(`a`)嵌套在一个 `section` 元素中。 # --hints-- diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md index e9915368111..e658ebefb40 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/62dabe2ef403a12d5d295273.md @@ -7,7 +7,7 @@ dashedName: step-13 # --description-- -现在将 `p` 元素中的文本 `cat photos` 变成了链接, 已经不需要 `p` 元素下面的第二个链接了。 删除 `p` 元素下面的锚点元素。 +现在将 `p` 元素中的文本 `cat photos` 变成了链接, 已经不需要 `p` 元素下面的第二个链接了。 删除 `p` 元素下面的锚元素。 # --hints-- @@ -17,7 +17,7 @@ Your code should only have one paragraph (`p`) element. assert.isTrue(document.querySelectorAll('p').length === 1); ``` -你的代码应该只包含一个锚点元素(`a`)。 +你的代码应该只包含一个锚元素(`a`)。 ```js assert.isTrue(document.querySelectorAll('a').length === 1); diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index bb42b319e1f..26e83953974 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -在最后一个分隔符之后,使用文本 `Protein 3g` 创建另一个 `p` 元素。 使用必要的类来删除底部边框,并使用 `span` 使 `Protein` 加粗。 +在最后一个分隔符之后,使用文本 `Protein 3g` 创建另一个 `p` 元素。 使用必要的类来删除底部边框,并使用 `span` 使 `Protein` 加粗。 Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. 在这个元素之后,创建一个大分隔线。 @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + 你的新 `div` 应该将 `class` 属性设置为 `divider large`。 ```js diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 9343d5a9a62..676e6ec70ec 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 7207a95fe87..5166a80fdbd 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 991445794a5..8e7ab839eaf 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 427caf0a072..74bba95f35b 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 9a24f1f731d..4a2cd3abf99 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 1dcc3162999..3d11f3b41e6 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md index 97bb9ef0e04..6715d732764 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/635090f47eb6d9563a6fed05.md @@ -25,7 +25,7 @@ Your `getMedian` function should have a `median` variable. assert.match(getMedian.toString(), /median\s*=/); ``` -Your `median` variable should use a ternary operator to check if the `array.length` is even. +你的 `median` 变量应该使用三元运算符来检查 `array.length` 是否为偶数。 ```js assert.match(getMedian.toString(), /median\s*=\s*array\.length\s*%\s*2\s*===\s*0\s*\?/); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md index 2e40b9bd62b..a60e1233e38 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-advanced-array-methods-by-building-a-statistics-calculator/6352ea3a5b79e614ee2282fd.md @@ -27,7 +27,7 @@ Your `if` statement should create a new `Set` and pass the `Object.values()` of assert.match(getMode.toString(), /if\s*\(\s*new\s+Set\s*\(\s*Object\.values\s*\(\s*counts\s*\)/); ``` -Your `if` statement should check if the `size` property of the new `Set` is equal to `1`. +你的 `if` 语句应该检查新 `Set` 的 `size` 属性是否等于 `1`。 ```js assert.match(getMode.toString(), /if\s*\(\s*new\s+Set\s*\(\s*Object\.values\s*\(\s*counts\s*\)\s*\)\s*\.size\s*===\s*1/); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md index 9aebb38ebf1..484ccfd6a88 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/5d5a813321b9e3db6c106a46.md @@ -53,7 +53,7 @@ Your `html` element should have a closing tag. assert(code.match(/<\/html\s*>/)); ``` -Your `DOCTYPE` declaration should be at the beginning of your HTML. +你的 `DOCTYPE` 声明应位于 HTML 的开头。 ```js assert(__helpers.removeHtmlComments(code).match(/^\s*/i)); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index ce743dbe256..0e4b6cd7d0f 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ assert.equal(span?.id, 'xpText'); const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` 第一个 `.stat` 元素的文本仍应为 `XP: 0`。 @@ -91,7 +91,7 @@ assert.equal(span?.id, 'healthText'); const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` 第二个 `.stat` 元素的文本仍应为 `Health: 100`。 @@ -133,7 +133,7 @@ assert.equal(span?.id, 'goldText'); const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` 第三个 `.stat` 元素的文本仍应为 `Gold: 50`。 diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md index 98475155ee9..05f77f5a845 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2aec2f09d454253aad6c.md @@ -18,7 +18,7 @@ const match = pick.toString().match(/if/g); assert.isAtLeast(match.length, 2); ``` -Your `if` statement should check if the player's `health` is less than or equal to `0`. +你的 `if` 语句应该检查玩家的 `health` 是否小于或等于 `0`。 ```js assert.match(pick.toString(), /if\s*\(\s*health\s*<=\s*0\s*\)/); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 15ef9c2bc4b..26f62342cd3 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md index 2a172092273..9cd0bb4f504 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9de47885cd4d08c29f8e2.md @@ -19,7 +19,7 @@ First, create an empty function called `checkUserInput`. assert.isFunction(checkUserInput); ``` -Your `checkUserInput` function should be empty. +`checkUserInput` 函数应为空。 ```js assert.match(String(checkUserInput), /\{\s*\}/); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md index 68fa3f6a023..d93e88a4fdf 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/63e9e5bcec5d33d21b82397e.md @@ -13,7 +13,7 @@ Within the `checkUserInput` function, use `console.log()` to log the `value` of # --hints-- -Your `console.log()` call should be inside the `checkUserInput` function. +`checkUserInput` 函数中应包含 `console.log()` 语句。 ```js assert.match(String(checkUserInput), /console\.log\(\s*.*/); diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index f0494b6335d..252e24f284f 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/chinese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md index ef6a1565b72..241173e132b 100644 --- a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md +++ b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md @@ -12,7 +12,7 @@ The 3-digit number 376 in the decimal numbering system is an example of numbers 在其他编号系统中也可以看到稳定的正方形。 In the base 14 numbering system, the 3-digit number $c37$ is also a steady square: $c37^2 = aa0c37$, and the sum of its digits is $c+3+7=18$ in the same numbering system. The letters $a$, $b$, $c$ and $d$ are used for the 10, 11, 12 and 13 digits respectively, in a manner similar to the hexadecimal numbering system. -For $1 ≤ n ≤ 9$, the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system is $2d8$ (582 decimal). 不允许以0开头的稳定正方形。 +For $1 ≤ n ≤ 9$, the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system is $2d8$ (582 decimal). 不允许以 0 开头的稳定正方形。 Find the sum of the digits of all the $n$-digit steady squares in the base 14 numbering system for $1 ≤ n ≤ 10000$ (decimal) and give your answer as a string in the base 14 system using lower case letters where necessary. diff --git a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md index 9a8d5dcd021..4b14194bad9 100644 --- a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md +++ b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-401-to-480/problem-419-look-and-say-sequence.md @@ -10,7 +10,7 @@ dashedName: problem-419-look-and-say-sequence The look and say sequence goes 1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, ... -该序列以1开头,并且所有其他成员都是通过用连续数字描述前一个成员而获得的。 +该序列以 1 开头,并且所有其他成员都是通过用连续数字描述前一个成员而获得的。 大声地这样做有助于: diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/chinese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/espanol/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/espanol/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index e7f0f296f2b..d1ec002192e 100644 --- a/curriculum/challenges/espanol/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/espanol/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Las siguientes instrucciones corresponden a números de celda específicos, indi Crea generadores de imágenes para cada uno de los tres conjuntos de datos de imagen (entrenamiento, validación, prueba). Utilice `ImageDataGenerator` para leer / decodificar las imágenes y convertirlas en tensores de punto flotante. Utilice el argumento `rescale` (y ningún otro argumento por ahora) para cambiar la escala de los tensores de valores entre 0 y 255 a valores entre 0 y 1. -Para las variables `*_data_gen`, utilice el método `flow_from_directory`. Pase en el tamaño del lote, directorio, tamaño de destino (`(IMG_HEIGHT, IMG_WIDTH)`), modo de clase y cualquier otra cosa requerida. `test_data_gen` será el más complicado. Para `test_data_gen`, asegúrese de pasar en `shuffle=False` al método `flow_from_directory`. Esto asegurará que las predicciones finales se mantengan en el orden que espera nuestra prueba. Para `test_data_gen` también será útil observar la estructura de directorio. +Para las variables `*_data_gen`, utilice el método `flow_from_directory`. Pase en el tamaño del lote, directorio, tamaño de destino (`(IMG_HEIGHT, IMG_WIDTH)`), modo de clase y cualquier otra cosa requerida. `test_data_gen` será el más complicado. Para `test_data_gen`, asegúrese de pasar en `shuffle=False` al método `flow_from_directory`. This will make sure the final predictions stay in the order that our test expects. Para `test_data_gen` también será útil observar la estructura de directorio. Después de ejecutar el código, la salida debería verse así: diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 62f245a88a3..cc98d63b66b 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Como has aprendido en los pasos anteriores del proyecto Cat Photo App, hay una estructura básica necesaria para comenzar a construir tu página web. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Como has aprendido en los pasos anteriores del proyecto Cat Photo App, hay una estructura básica necesaria para comenzar a construir tu página web. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Añade la etiqueta `` y un elemento `html` con un atributo `lang` con el valor `en`. # --hints-- -Debes tener la declaración `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Debes tener una etiqueta `` de apertura con un atributo `lang` con el valor `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Debes tener una etiqueta `` de cierre. Recuerda que las etiquetas de cierre tienen una `/` después del corchete `<` de apertura. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index fc50bec3809..b90901a494e 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Después de su último divisor, cree otro elemento `p` con el texto `Protein 3g`. Use las clases necesarias para eliminar el borde inferior y un `span` para poner la `Protein` en negrita. +Después de su último divisor, cree otro elemento `p` con el texto `Protein 3g`. Use las clases necesarias para eliminar el borde inferior y un `span` para poner la `Protein` en negrita. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Siguiendo este elemento, cree un gran divisor. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Su nuevo `div` debe tener el atributo `class` establecido en `divider large`. ```js diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index c7ff2593721..12512b95c45 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 09f88de82ff..2784b4ce3a5 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 5309fb30084..03ef4226e35 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 4b945768947..0611715cf6c 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index d31a2ad1583..fde2a1704f3 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index c54f6ad563d..068b0cfc732 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index 21a2977e9d3..7275910c007 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index edbb39a5114..339b6fe6733 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index a48e45d767c..b9f85d6b095 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/espanol/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 3b96e6f9f25..843c0529b50 100644 --- a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## Frases -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## Palabra correcta diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 2aa70cd3ab1..771742d278d 100644 --- a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## Frases -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## Palabra correcta diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index 404a08ab3fd..47aac908d7d 100644 --- a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/espanol/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index 590ca933745..ffab4d46e29 100644 --- a/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/german/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Now it is your turn! Set each of the variables in this cell correctly. (They sho Create image generators for each of the three image data sets (train, validation, test). Use `ImageDataGenerator` to read / decode the images and convert them into floating point tensors. Use the `rescale` argument (and no other arguments for now) to rescale the tensors from values between 0 and 255 to values between 0 and 1. -For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay is in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. +For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. After you run the code, the output should look like this: diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 045b43f8106..d308f3bee4f 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Wie du in den letzten Schritten der Katzenfoto-App bereits gelernt hast, ist eine grundlegende Struktur erforderlich, um deine Webseite zu erstellen. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Wie du in den letzten Schritten der Katzenfoto-App bereits gelernt hast, ist eine grundlegende Struktur erforderlich, um deine Webseite zu erstellen. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Füge das ``-Tag und ein `html`-Element mit einem `lang`-Element von `en` hinzu. # --hints-- -Du solltest eine `DOCTYPE`-Deklaration haben. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Du solltest ein öffnendes ``-Tag mit einem `lang`-Attribut von `en` haben. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Du solltest ein schließendes ``-Tag haben. Vergiss nicht, dass schließende Tags ein `/` nach der Öffnungsklammer (`<`) haben. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 200dee5e695..1a728ac1a6d 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Erstelle nach deinem letzten Trenner ein weiteres `p`-Element mit dem Text `Protein 3g`. Verwende die notwendigen Klassen, um den unteren Rand zu entfernen, und nutze einen `span`, um `Protein` fettgedruckt zu machen. +Erstelle nach deinem letzten Trenner ein weiteres `p`-Element mit dem Text `Protein 3g`. Verwende die notwendigen Klassen, um den unteren Rand zu entfernen, und nutze einen `span`, um `Protein` fettgedruckt zu machen. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Erstelle nach diesem Element einen großen Trenner. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Dein neuer `div` sollte das `class`-Attribut auf `divider large` gesetzt haben. ```js diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 4580ee1ecd7..13337c6b8bb 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 23067528187..42b01051628 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 85b216a619f..8ab311f243d 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 9518fd26898..ab94b8d971e 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 4211f6645ec..bbfa15e5292 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 925e1b532f4..15587247ca1 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index 80797bdc66d..04582adf426 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 1f53a08c720..1a6c48c3265 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Dein `p`-Element sollte die Klasse `error-msg` enthalten. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Dein `p`-Element sollte den Text `There was an error loading the authors` enthalten. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index 7c44902e681..9f8613537eb 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/german/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index f75430675ac..c5721bc6617 100644 --- a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ Im Dialog erwähnt Jake die Abteilung zu der er gehört. Menschen verwenden oft ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## -blanks-- diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index da25b875352..5e8cde7b560 100644 --- a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake erklärt Sarah den Zweck seines Besuchs. He's there to hand over something ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## -blanks-- diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index 0d10c870635..45e7c8be41a 100644 --- a/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/german/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/italian/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/italian/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index 44ad5fe1283..6dba35963fc 100644 --- a/curriculum/challenges/italian/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/italian/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Ora è il tuo turno! Imposta correttamente ciascuna delle variabili in questa ce Crea generatori di immagini per ognuno dei tre set di dati di immagini (addestramento, validazione, test). Usa `ImageDataGenerator` per leggere / decodificare le immagini e convertire in tensori a virgola mobile. Usa l'argomento `rescale` (e nessun altro argomento per ora) per riscalare i tensori da valori tra 0 e 255 a valori tra 0 e 1. -Per le variabili `*_data_gen`, usa il metodo `flow_from_directory`. Passa la dimensione del batch, la directory, la dimensione del target (`(IMG_HEIGHT, IMG_WIDTH)`, modo di classe, e qualsiasi altra cosa richiesta. `test_data_gen` sarà la cosa più complicata. Per `test_data_gen`, assicurati di passare `shuffle=False` al metodo `flow_from_directory`. Questo sarà si che le predizioni finali stanno nell'ordine che i nostri test si aspettano. Per `test_data_gen` sarà anche utile osservare la struttura della cartella. +Per le variabili `*_data_gen`, usa il metodo `flow_from_directory`. Passa la dimensione del batch, la directory, la dimensione del target (`(IMG_HEIGHT, IMG_WIDTH)`, modo di classe, e qualsiasi altra cosa richiesta. `test_data_gen` sarà la cosa più complicata. Per `test_data_gen`, assicurati di passare `shuffle=False` al metodo `flow_from_directory`. This will make sure the final predictions stay in the order that our test expects. Per `test_data_gen` sarà anche utile osservare la struttura della cartella. Dopo che esegui il codice, l'output dovrebbe essere tipo questo: diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index bfc3ea482cc..4c065773820 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Come hai imparato negli ultimi step di Cat Photo App, c'è una struttura di base necessaria per iniziare a costruire la tua pagina web. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Come hai imparato negli ultimi step di Cat Photo App, c'è una struttura di base necessaria per iniziare a costruire la tua pagina web. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Aggiungi il tag `` e un elemento `html` con un attributo `lang` con il valore `en`. # --hints-- -Dovresti avere la dichiarazione `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Dovresti avere un tag `` di apertura con un attributo `lang` con il valore `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Dovresti avere un tag di chiusura ``. Ricorda che i tag di chiusura hanno un `/` dopo la virgoletta angolata di apertura `<`. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 560eb319f6a..9337f975eab 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Dopo l'ultimo divider, crea un altro elemento `p` con il testo `Protein 3g`. Usa le classi necessarie per rimuovere il bordo inferiore e un elemento `span` per rendere in grassetto il testo `Protein`. +Dopo l'ultimo divider, crea un altro elemento `p` con il testo `Protein 3g`. Usa le classi necessarie per rimuovere il bordo inferiore e un elemento `span` per rendere in grassetto il testo `Protein`. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Dopo questo elemento, crea un divider grande. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Il nuovo elemento `div` dovrebbe avere l'attributo `class` con il valore `divider large`. ```js diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index be25c84e64d..8930c5ef6f8 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 236226d2b92..101cfa2fbac 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 57c426ee46c..97c133e86d5 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 484137e380e..58cc3606ab3 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index dc2c126d23e..a815c0b9203 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 9f6b6ac7be5..696864b919b 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index d755f5386e6..7c901c30a03 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Il primo elemento `span` dovrebbe circondare il testo `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` Il testo del primo elemento `.stat` dovrebbe essere ancora `XP: 0`. @@ -91,7 +91,7 @@ Il secondo elemento `span` dovrebbe circondare il testo `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` Il testo del secondo elemento `.stat` dovrebbe essere ancora `Health: 100`. @@ -133,7 +133,7 @@ Il terzo elemento `span` dovrebbe circondare il testo `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` Il testo del terzo elemento `.stat` dovrebbe essere ancora `Gold: 50`. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index ae8754af2b4..e12e91906a9 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) L'elemento `p` dovrebbe avere la classe `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` L'elemento `p` dovrebbe avere il testo `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index e91b1427f8a..4c31deb35df 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/italian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/italian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/japanese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/japanese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index 042ce00fbd3..424512f78ed 100644 --- a/curriculum/challenges/japanese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/japanese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ cats_and_dogs 3 つのそれぞれの画像データセット (トレーニング、検証、テスト) について画像ジェネレータを作成します。 `ImageDataGenerator` を使用して画像を読み取ってデコードし、浮動小数点テンソルに変換します。 `rescale` 引数を使用して (この時点では他の引数は使用しません)、テンソルを 0~255 の値から 0~1 の値にスケール変更します。 -`*_data_gen` 変数には、`flow_from_directory` メソッドを使用します。 バッチサイズ、ディレクトリ、ターゲットサイズ (`(IMG_HEIGHT, IMG_WIDTH)`)、クラスモード、その他必要なものを渡します。 `test_data_gen` の場合が最もトリッキーです。 `test_data_gen` では、必ず `shuffle=False` を `flow_from_directory` メソッドに渡してください。 そうすることで、最終的な予測の順序が freeCodeCamp 側のテストの期待どおりに保たれます。 `test_data_gen` に関しては、ディレクトリ構造をよく見ることも重要です。 +`*_data_gen` 変数には、`flow_from_directory` メソッドを使用します。 バッチサイズ、ディレクトリ、ターゲットサイズ (`(IMG_HEIGHT, IMG_WIDTH)`)、クラスモード、その他必要なものを渡します。 `test_data_gen` の場合が最もトリッキーです。 `test_data_gen` では、必ず `shuffle=False` を `flow_from_directory` メソッドに渡してください。 This will make sure the final predictions stay in the order that our test expects. `test_data_gen` に関しては、ディレクトリ構造をよく見ることも重要です。 コードを実行すると、出力は次のようになります。 diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 6de0c8e33be..f514cf3d928 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -猫の写真アプリの最後の数ステップで学んだように、ウェブページを作り始めるのに必要な基本構造があります。 +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +猫の写真アプリの最後の数ステップで学んだように、ウェブページを作り始めるのに必要な基本構造があります。 Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` `` タグと、 `lang` 属性に `en`を設定した `html` 要素を追加してください。 # --hints-- -`DOCTYPE` 宣言が必要です。 +You should have the `` declaration. ```js assert(code.match(//i)); ``` -`lang` 属性に `en` を設定した開始タグ `` が必要です。 +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -`` の終了タグが 1 つ必要です。 終了タグは初めの山括弧 `<` の後に `/` があることを忘れないようにしましょう。 +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 86475c97a9b..fc8706820ae 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -最後の仕切り線の後に `p` 要素をもう 1 つ作成し、テキストを `Protein 3g` にしてください。 適切なクラスを使用して下端の境界線を取り除き、`span` を使用して `Protein` の部分を太字にしてください。 +最後の仕切り線の後に `p` 要素をもう 1 つ作成し、テキストを `Protein 3g` にしてください。 適切なクラスを使用して下端の境界線を取り除き、`span` を使用して `Protein` の部分を太字にしてください。 Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. その要素の後に、一番太い (lg) 仕切り線を作成してください。 @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Your new `div` should have the `class` attribute set to `divider large`. ```js diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index cc5459ce014..e08d632f526 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 2f3a44e69d9..1979e1af3f6 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 32daee68949..3356225f009 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 1f81e8301fe..d06cc58555c 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 1d64aaa7b4c..3a83c0e906c 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 919efb50b52..a835c88217d 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index 60cabe4429a..66c25c50307 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index a1cb17ffdcc..bb776b02cc4 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index 015ee12352d..794deef4e2c 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/japanese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/japanese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/korean/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/korean/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index f43cc60a47c..3e374f37cdc 100644 --- a/curriculum/challenges/korean/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/korean/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Now it is your turn! Set each of the variables in this cell correctly. (They sho Create image generators for each of the three image data sets (train, validation, test). Use `ImageDataGenerator` to read / decode the images and convert them into floating point tensors. Use the `rescale` argument (and no other arguments for now) to rescale the tensors from values between 0 and 255 to values between 0 and 1. -For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay is in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. +For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. After you run the code, the output should look like this: diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 1b430f18e6b..a895820de7d 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -As you learned in the last few steps of the Cat Photo App, there is a basic structure needed to start building your web page. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +As you learned in the last few steps of the Cat Photo App, there is a basic structure needed to start building your web page. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Add the `` tag, and an `html` element with a `lang` attribute of `en`. # --hints-- -You should have the `DOCTYPE` declaration. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -You should have an opening `` tag with a `lang` attribute of `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -You should have a closing `` tag. Remember that closing tags have a `/` following the opening `<` bracket. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index b089f0078e9..ffd837e5ede 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -After your last divider, create another `p` element with the text `Protein 3g`. Use the necessary classes to remove the bottom border, and a `span` to make the `Protein` bold. +After your last divider, create another `p` element with the text `Protein 3g`. Use the necessary classes to remove the bottom border, and a `span` to make the `Protein` bold. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Following this element, create a large divider. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Your new `div` should have the `class` attribute set to `divider large`. ```js diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 94575a0afbc..6718bf34d3f 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 33368cf4171..d95e4c924e5 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 8aabc608ee7..38b871e93f4 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 8fae3b0cfed..17b5acd5d9c 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 35f185f515c..e8cf9b1fd24 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index c8a2885e0a0..7c8abab9ab4 100644 --- a/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/korean/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index aa26806c5aa..200e4a3e3e5 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index a1cb17ffdcc..bb776b02cc4 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index e91b1427f8a..4c31deb35df 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/korean/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/korean/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/portuguese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/portuguese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index a997c3988c2..83ffe1b72bc 100644 --- a/curriculum/challenges/portuguese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/portuguese/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Agora é a sua vez! Defina cada uma das variáveis nessa célula corretamente (e Crie geradores de imagem para cada um dos três conjuntos de dados de imagens (treinamento, validação, teste). Use `ImageDataGenerator` para ler/decodificar as imagens e convertê-las em tensores de ponto flutuante. Use o argumento `rescale` (e não há outros argumentos por enquanto) para redimensionar os tensores dos valores entre 0 e 255 para valores entre 0 e 1. -Para as variáveis `*_data_gen`, use o método `flow_from_directory`. Passe o tamanho do lote, diretório, tamanho do destino (`(IMG_HEIGHT, IMG_WIDTH)`), modo de classe e tudo o mais que for necessário. `test_data_gen` será o mais complicado. Para `test_data_gen`, certifique-se de passar `shuffle=False` para o método `flow_from_directory`. Isto garantirá que as previsões finais permaneçam na ordem que o nosso teste espera. Para `test_data_gen` será útil observar a estrutura de diretório. +Para as variáveis `*_data_gen`, use o método `flow_from_directory`. Passe o tamanho do lote, diretório, tamanho do destino (`(IMG_HEIGHT, IMG_WIDTH)`), modo de classe e tudo o mais que for necessário. `test_data_gen` será o mais complicado. Para `test_data_gen`, certifique-se de passar `shuffle=False` para o método `flow_from_directory`. This will make sure the final predictions stay in the order that our test expects. Para `test_data_gen` será útil observar a estrutura de diretório. Após executar o código, a saída deverá ficar assim: diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 1f995d1f0c3..35c32e63d54 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Como você aprendeu nos últimos passos do CatPhotoApp, existe uma estrutura básica para começar a construir sua página da web. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Como você aprendeu nos últimos passos do CatPhotoApp, existe uma estrutura básica para começar a construir sua página da web. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Adicione a tag `` e um elemento `html` com um atributo `lang` de `en`. # --hints-- -Você deve criar uma declaração `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Você deve ter uma tag de abertura `` com um atributo `lang` de `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Você deve acrescentar uma tag de encerramento ``. Lembre-se de que as tags de fechamento têm um `/` logo depois do colchete de abertura `<`. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 492f0c75973..fb9eab84fae 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Após o último divisor, crie outro elemento `p` e dê a ele o texto `Protein 3g`. Use as classes necessárias para remover a borda inferior e um `span` para deixar `Protein` em negrito. +Após o último divisor, crie outro elemento `p` e dê a ele o texto `Protein 3g`. Use as classes necessárias para remover a borda inferior e um `span` para deixar `Protein` em negrito. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Depois desse elemento, crie um divisor grande. @@ -38,6 +38,13 @@ Você deve ter um elemento `span` com a classe `bold` em volta do texto `Protein assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + A nova `div` deve ter o atributo `class` definido como `divider large`. ```js diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 411143b5da1..bd24bcba17b 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index d1518d52c2d..be88aae01ca 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 7413cf33399..388780b7372 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index efbdf81be4e..56ca33ae4cb 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 67a4ce06501..0a93619b0e9 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 575629afe1d..818d661c5fd 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index 5feceac3929..0af8c4c4815 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ O primeiro elemento `span` deve encapsular o texto `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` O texto do primeiro elemento `.stat` ainda deve ser `XP: 0`. @@ -91,7 +91,7 @@ O segundo elemento `span` deve encapsular o texto `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` O texto do segundo elemento `.stat` ainda deve ser `Health: 100`. @@ -133,7 +133,7 @@ O terceiro elemento `span` deve encapsular o texto `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` O texto do terceiro elemento `.stat` ainda deve ser `Gold: 50`. diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 9fad0c6d53c..939b41840e9 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) O elemento `p` deve ter a classe `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` O elemento `p` deve ter o texto `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index d310b025569..bda643766eb 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/portuguese/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index d3a4560757f..d9c78aa8f3f 100644 --- a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --frase-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --espaços em branco-- diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 64b7a6c9470..a8234429956 100644 --- a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --frase-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --espaços em branco-- diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index 9445f957902..d2245615e13 100644 --- a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/portuguese/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/swahili/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md b/curriculum/challenges/swahili/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md index f43cc60a47c..3e374f37cdc 100644 --- a/curriculum/challenges/swahili/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md +++ b/curriculum/challenges/swahili/11-machine-learning-with-python/machine-learning-with-python-projects/cat-and-dog-image-classifier.md @@ -45,7 +45,7 @@ Now it is your turn! Set each of the variables in this cell correctly. (They sho Create image generators for each of the three image data sets (train, validation, test). Use `ImageDataGenerator` to read / decode the images and convert them into floating point tensors. Use the `rescale` argument (and no other arguments for now) to rescale the tensors from values between 0 and 255 to values between 0 and 1. -For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay is in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. +For the `*_data_gen` variables, use the `flow_from_directory` method. Pass in the batch size, directory, target size (`(IMG_HEIGHT, IMG_WIDTH)`), class mode, and anything else required. `test_data_gen` will be the trickiest one. For `test_data_gen`, make sure to pass in `shuffle=False` to the `flow_from_directory` method. This will make sure the final predictions stay in the order that our test expects. For `test_data_gen` it will also be helpful to observe the directory structure. After you run the code, the output should look like this: diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 1251c760116..52ea78a9b16 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Kama ulivyojifunza katika hatua chache zilizopita za Programu ya Cat Photo, kuna muundo msingi unaohitajika ili kuanza kuunda ukurasa wako wa wavuti. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Kama ulivyojifunza katika hatua chache zilizopita za Programu ya Cat Photo, kuna muundo msingi unaohitajika ili kuanza kuunda ukurasa wako wa wavuti. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Ongeza tagi ya ``, na kipengele cha `html` chenye sifa ya `lang` ya `en`. # --hints-- -Unapaswa kuwa na tamko la `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Unapaswa kuwa na tagi ya ufunguzi ya `` yenye sifa ya `lang` ya `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Unapaswa kuwa na tagi ya kufunga ya ``. Kumbuka kwamba tagi za kufunga zina `/` inayofuata `<` mabano ya ufunguzi. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 72989174e7b..d909b41c30b 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Baada ya divider yako ya mwisho, unda kipengele kingine cha `p` chenye maandishi `Protein 3g`. Tumia madarasa yanayohitajika ili kuondoa mpaka wa chini, na `span` ili kufanya `Protein` kuwa na uzito. +Baada ya divider yako ya mwisho, unda kipengele kingine cha `p` chenye maandishi `Protein 3g`. Tumia madarasa yanayohitajika ili kuondoa mpaka wa chini, na `span` ili kufanya `Protein` kuwa na uzito. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Kufuatia kipengele hiki, tengeneza mgawanyiko mkubwa. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + `div` yako mpya inapaswa kuwa na sifa ya `class` iliyowekwa kuwa `divider large`. ```js diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index b84c74fe5d2..c867f17f6d9 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 5d870bd7f73..69ff04423b1 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 06f7c700ccd..b3a4998eca6 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 08a9f4eafa3..e6b2301ca1b 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 565e3f38458..b9e17b12d03 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index 31dc3a0558d..68fb7a72a00 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index f67250c96c9..11f96a78a4f 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ Your first `span` element should be wrapped around the text `0`. const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` The text of your first `.stat` element should still be `XP: 0`. @@ -91,7 +91,7 @@ Your second `span` element should be wrapped around the text `100`. const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` The text of your second `.stat` element should still be `Health: 100`. @@ -133,7 +133,7 @@ Your third `span` element should be wrapped around the text `50`. const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` The text of your third `.stat` element should still be `Gold: 50`. diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index c0d6a8357f5..dfae8843155 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Your `p` element should have the class `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index 4321327eafd..d5ae929b573 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/swahili/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index 569ca39d595..84aa5a43cdb 100644 --- a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 38f3fe525f7..0dadf5568c1 100644 --- a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index b0837ad45ef..f127fd7b0c6 100644 --- a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/swahili/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md index 83e2ab71aad..c9f70f0ad6e 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f33071498eb2472b87ddee4.md @@ -7,25 +7,34 @@ dashedName: step-1 # --description-- -Як ви дізналися в останніх кількох кроках застосунку «Cat Photo», існує базова структура, яка необхідна для початку створення вебсторінки. +In this project, you will learn the basics of CSS(Cascading Style Sheets) by building a cafe menu. CSS is the language used to style an HTML document. It describes how HTML elements should be displayed on the screen. + +Як ви дізналися в останніх кількох кроках застосунку «Cat Photo», існує базова структура, яка необхідна для початку створення вебсторінки. Every HTML document should have a `DOCTYPE` declaration and `html` element. The `DOCTYPE` tells the browser which version of HTML the document is in. And the `html` element represents the root element which contains all other elements. + +```html + + + + +``` Додайте теґ `` та елемент `html` з атрибутом `lang` зі значенням `en`. # --hints-- -Ви повинні мати декларацію `DOCTYPE`. +You should have the `` declaration. ```js assert(code.match(//i)); ``` -Ви повинні мати початковий теґ `` з атрибутом `lang` зі значенням `en`. +You should have an opening `` with the language set to english. ```js assert(code.match(//gi)); ``` -Ви повинні мати кінцевий теґ ``. Пам'ятайте, що кінцеві теґи мають `/`, що супроводжує початкову дужку `<`. +You should have a closing `` tag. ```js assert(code.match(/<\/html>/i)); diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 506efa0ab51..7f6fbfa0f79 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -7,7 +7,7 @@ dashedName: step-61 # --description-- -Після останнього роздільника створіть інший елемент `p` з текстом `Protein 3g`. Використайте необхідні класи, щоб видалити нижній кордон, та `span`, щоб зробити `Protein` жирним шрифтом. +Після останнього роздільника створіть інший елемент `p` з текстом `Protein 3g`. Використайте необхідні класи, щоб видалити нижній кордон, та `span`, щоб зробити `Protein` жирним шрифтом. Then wrap the text `Protein 3g` including the new `span` element, in a new `span` element. Слідом за цим елементом створіть великий роздільник. @@ -38,6 +38,13 @@ You should have a `span` element with the class `bold` around the text `Protein` assert(document.querySelector('.daily-value.small-text p:last-of-type span.bold')?.innerText === 'Protein'); ``` +You should have a `span` element around the text `Protein 3g`. + +```js +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span > span.bold')?.innerText === 'Protein'); +assert(document.querySelector('.daily-value.small-text > p:last-of-type > span')?.innerText === 'Protein 3g'); +``` + Ваш новий `div` повинен мати атрибут `class` зі значенням `divider large`. ```js diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index dd51417c4dc..6c8ff4c75f3 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -87,7 +87,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

--fcc-editable-region-- diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index 285b500c9c7..0bcec656c1e 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -110,7 +110,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.fir

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index 38bebfe867f..04e97f4adf8 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -91,7 +91,7 @@ assert(!document.querySelector('.daily-value.small-text')?.lastElementChild?.que

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 1926106196a..683efeee5ec 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -97,7 +97,7 @@ assert.equal(document.querySelector('.label')?.lastElementChild?.innerText, '* T

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index bfa8f0c1b4b..c9f8cead11b 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -78,7 +78,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.margin === '5px 0px');

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index da3d42cb2eb..7780f3dd5b9 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -77,7 +77,7 @@ assert(new __helpers.CSSHelp(document).getStyle('.note')?.textIndent === '-8px')

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

@@ -244,7 +244,7 @@ p {

Includes 10g Added Sugars 20%

-

Protein 3g

+

Protein 3g

Vitamin D 2mcg 10%

Calcium 260mg 20%

diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-asynchronous-programming-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-asynchronous-programming-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md index 9b92495f3f8..92fbab976cf 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-asynchronous-programming-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-asynchronous-programming-by-building-an-fcc-forum-leaderboard/643c0ab6779047014ca69b4f.md @@ -7,9 +7,9 @@ dashedName: step-6 # --description-- -У попередньому проєкті ви використовували `fetch()` з методом `.then()`, щоб виконати логіку після виконання промісу. Now you will use the `await` keyword to handle the asynchronous nature of the `fetch()` method. +У попередньому проєкті ви використовували `fetch()` з методом `.then()`, щоб виконати логіку після виконання промісу. Зараз ви будете використовувати ключове слово `await`, щоб обробити асинхронну суть методу `fetch()`. -The `await` keyword waits for a promise to resolve and returns the result. +Ключове слово `await` очікує виконання промісу та повертає результат. ```js const example = async () => { diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md index c08fcaf55ec..0a0ea918670 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a23c1d505bfa13747c8a9b.md @@ -49,7 +49,7 @@ assert.equal(span?.id, 'xpText'); const stat = document.querySelectorAll('.stat')[0]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '0'); +assert.equal(span.innerText.trim(), '0'); ``` Текстом першого елемента `.stat` досі має бути `XP: 0`. @@ -91,7 +91,7 @@ assert.equal(span?.id, 'healthText'); const stat = document.querySelectorAll('.stat')[1]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '100'); +assert.equal(span.innerText.trim(), '100'); ``` Текстом другого елемента `.stat` досі має бути `Health: 100`. @@ -133,7 +133,7 @@ assert.equal(span?.id, 'goldText'); const stat = document.querySelectorAll('.stat')[2]; const strong = stat?.querySelector('strong'); const span = strong?.querySelector('span'); -assert.equal(span.innerText, '50'); +assert.equal(span.innerText.trim(), '50'); ``` Текстом третього елемента `.stat` досі має бути `Gold: 50`. diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md index 67fa762cd4e..9a29020a01a 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641daae5e18eae4b562633e4.md @@ -29,13 +29,13 @@ assert.match(code, /authorContainer\.innerHTML\s*=\s*(`|"|').*<\/p>\1/) Елемент `p` повинен мати клас `error-msg`. ```js -assert.match(code, /(`|"|')/) +assert.match(code, /(`|"|')/) ``` Your `p` element should have the text `There was an error loading the authors`. ```js -assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) +assert.match(code, /(`|"|')There\s+was\s+an\s+error\s+loading\s+the\s+authors<\/p>\1\s*;?/) ``` diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08b60df972c..a4b34f17043 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -11,6 +11,16 @@ You've retrieved the task item(s) now, but they still don't reflect in the UI wh You can check if there's a task inside `taskData` using the length of the array. Because `0` is a falsy value all you need for the condition is the array length. +Here is an example checking the length of an array: + +```js +if (arr.length) { + // do something +} +``` + +In that example, if `arr` has a length greater than `0`, the code inside the `if` statement block will run. If `arr` has a length of `0`, the code inside the `if` statement block will not run. + Check if there's a task inside `taskData`, then call the `updateTaskContainer()` inside the `if` statement block. With that, you've completed this project. diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md index ef32f817e16..f14336207ac 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-recursion-by-building-a-decimal-to-binary-converter/645cbb5ab1296e49946adb6e.md @@ -9,7 +9,7 @@ dashedName: step-47 In computer science, a stack is a data structure where items are stored in a LIFO (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. -The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. +The call stack is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. You'll see this in action by creating mock call stack. diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md index 0b4881c3da4..57ff60a23dd 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/6607343c7909e562a2e3d94c.md @@ -33,7 +33,7 @@ assert.match(code, /const\s+exampleSentence\s*=/); You should assign `"selur pmaCedoCeerf".split()` to your `exampleSentence` variable. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|"|`)selur\s+pmaCedoCeerf\1\.split\(\)/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split()); ``` You should have a `console.log` statement that logs the value of `exampleSentence`. diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md index ae47d8b86f6..9aabe798073 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/learn-the-date-object-by-building-a-date-formatter/660736bde759eb64c3bd15c3.md @@ -12,8 +12,8 @@ The `split` method takes in a parameter known as a separator. The separator is u Here is an example of using an empty string as a separator: ```js -const str = "hello"; -str.split(""); // returns ["h", "e", "l", "l", "o"] +// returns ["h", "e", "l", "l", "o"] +"hello".split(""); ``` Other examples of separators can include a space `" "`, or a hyphen `"-"`. If you don't provide a separator, the method will return an array with the original string as the only element. @@ -25,7 +25,7 @@ Update your `split` method, to use an empty string as a separator. Open up the c Your `split` method should take in an empty string as a separator. ```js -assert.match(code, /const\s+exampleSentence\s*=\s*('|")selur\s+pmaCedoCeerf\1\.split\(\s*('|")\2\);?/); +assert.deepEqual(exampleSentence, "selur pmaCedoCeerf".split("")); ``` # --seed-- diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md new file mode 100644 index 00000000000..959e05d5421 --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-a.md @@ -0,0 +1,48 @@ +--- +id: 6617a128e90de1b3fd10bd4d +title: Learn Function Basics Question A +challengeType: 15 +dashedName: learn-function-basics-question-a +--- + +# --description-- + +Let’s discuss parameters and arguments in the context of the following example function: + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +In JavaScript, parameters are the items listed between the parentheses `()` in the function declaration. Function arguments are the actual values you decide to pass to the function. + +In the example above, the function definition is written on the first line: `function favoriteAnimal(animal)`. The parameter, `animal`, is found inside the parentheses. You could just as easily replace `animal` with `pet`, `x`, or `blah`. But in this case, naming the parameter `animal` gives someone reading your code a bit of context so that they don't have to guess what `animal` may eventually contain. + +# --question-- + +## --text-- + +What does the parameter in the function `favoriteAnimal` represent in the context of JavaScript functions? + +## --answers-- + +The actual value that is used when calling the function. + +--- + +A placeholder for the value that will be passed to the function when it is called. + +--- + +The name of the function. + +--- + +The result of the function execution. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md new file mode 100644 index 00000000000..13f73fa716a --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-b.md @@ -0,0 +1,52 @@ +--- +id: 6617a1fce90de1b3fd10bd4e +title: Learn Function Basics Question B +challengeType: 15 +dashedName: learn-function-basics-question-b +--- + +# --description-- + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal('Goat')); +``` + +By putting `animal` inside the parentheses of the `favoriteAnimal()` function, you are telling JavaScript that you will send some value to your `favoriteAnimal` function. This means that animal is just a placeholder for some future value. But what value are you sending? + +The last line, `favoriteAnimal('Goat')`, is where you are calling your `favoriteAnimal` function and passing the value `'Goat'` inside that function. Here, `'Goat'` is your argument. You are telling the `favoriteAnimal` function, "Please send `'Goat'` to the `favoriteAnimal` function and use `'Goat'` wherever the `'animal'` placeholder is." Because of the flexibility that using a parameter provides, you can declare any animal to be your favorite. + +Here is a diagram to help you visualize how parameters are passed to a function, and how values get returned from it. + +A description of a function with arrows explaining that the values between the parentheses of the function itself are called parameters, and the values which are issued when the function is used are called arguments + +Make note of the fact that by calling `favoriteAnimal()` inside of `console.log()` with the argument `'Goat'`, you get the return value of the function, string of `"Goat is my favorite animal!"`, printed to the console. You're passing in a function call `favoriteAnimal('Goat')` as an argument in a different function call - `log()`. + +# --question-- + +## --text-- + +If you change the argument from `'Goat'` to `'Elephant'` in the `favoriteAnimal('Goat')` function call, what would `console.log(favoriteAnimal('Elephant'))` print to the console? + +## --answers-- + +`"Goat is my favorite animal!"` + +--- + +The function will return an error because `"Elephant"` is not a recognized argument. + +--- + +`"Elephant is my favorite animal!"` + +--- + +`"Kangaroo is my favorite animal!"` + +## --video-solution-- + +3 diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md new file mode 100644 index 00000000000..b8a431036fe --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-c.md @@ -0,0 +1,62 @@ +--- +id: 6617aee05b87c334e7ae8014 +title: Learn Function Basics Question C +challengeType: 15 +dashedName: learn-function-basics-question-c +--- + +# --description-- + +A variable declared inside a function is only visible inside a function. This is called the scope of the variable, this particular scope is called the local scope. Variables declared outside of a function are called global variables and are visible throughout the program. For example, the following code will raise an error: + +```js +function myFunction() { + let x = 10; +} + +console.log(x); +``` + +The variable `x` is declared inside the function `myFunction` and is not visible outside of the function. The code will raise a `ReferenceError` because `x` is not defined. + +If you declare a variable outside of a function, it is called a global variable and is visible throughout the program. For example, the following code will work: + +```js +let x = 10; + +function myFunction() { + console.log(x); +} + +myFunction(); +``` + +If a same-named variable is declared inside the function then it shadows the outer one. + +# --question-- + +## --text-- + +What will be the output of the following code? + +```js +let x = 10; + +function myFunction() { + let x = 20; + console.log(x); +} +``` + +## --answers-- + +10 + +--- + +20 + + +## --video-solution-- + +2 diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md new file mode 100644 index 00000000000..937c44f675f --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-d.md @@ -0,0 +1,56 @@ +--- +id: 6617aee95b87c334e7ae8015 +title: Learn Function Basics Question D +challengeType: 15 +dashedName: learn-function-basics-question-d +--- + +# --description-- + +If a function is called, but an argument is not provided, then the parameter will be assigned the value of `undefined`. This can lead to unexpected results if the function is not designed to handle this case. + +```js +function favoriteAnimal(animal) { + return animal + " is my favorite animal!" +} + +console.log(favoriteAnimal()); // Output: undefined is my favorite animal! +``` + +In the example above, the function `favoriteAnimal` is called without an argument. The parameter `animal` is assigned the value of `undefined`, which is then concatenated with the string `" is my favorite animal!"`. + +If a value is not provided you can make use of default parameters. Default parameters allow you to assign a default value to a parameter if no value is provided when the function is called. + +```js +function favoriteAnimal(animal = 'Giant Panda') { + return animal + " is my favorite animal!" +} +``` + +In the example above, the default value of the parameter `animal` is set to `'Giant Panda'`. If the function `favoriteAnimal` is called without an argument, the parameter `animal` will be assigned the value `'Giant Panda'`. + +# --question-- + +## --text-- + +How do default parameters in JavaScript functions enhance the behavior of functions like `favoriteAnimal` when called without any arguments? + +## --answers-- + +They cause the function to throw an error if no argument is provided. + +--- + +They prevent the function from being called without the required number of arguments. + +--- + +They ensure the function returns `null` to indicate that no argument was passed. + +--- + +They allow the function to execute with a predefined value, avoiding `undefined` related issues. + +## --video-solution-- + +4 diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md new file mode 100644 index 00000000000..1d1bc6b93d7 --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-e.md @@ -0,0 +1,74 @@ +--- +id: 6617aef05b87c334e7ae8016 +title: Learn Function Basics Question E +challengeType: 15 +dashedName: learn-function-basics-question-e +--- + +# --description-- + +As you have seen before, functions can return a value using the `return` keyword. The `return` keyword is used to return a value from a function. When the `return` keyword is used, the function will stop executing and return the value specified after the `return` keyword. + +```js +function add(a, b) { + return a + b +} + +console.log(add(2, 3)); // Output: 5 +``` + +But what happens if the `return` keyword is used before the end of the function? To answer this question, consider the following example: + +```js +function add(a, b) { + if(a > 2){ + return b; + } + + return a + b; +} + +console.log(add(3, 7)); // Output: 7 +``` + +In the example above, the function `add` has a conditional statement that checks if the value of `a` is greater than `2`. If the condition is met, the function will return the value of `b` and stop executing. If the condition is not met, the function will return the sum of `a` and `b`. + +# --question-- + +## --text-- + +What is the output of the following code snippet? + +```js +function add(a, b = 12) { + if(b > 11){ + return b * 2; + } else if(a > 3){ + return b; + } + + return a + b; +} + +console.log(add(3)); +``` + +## --answers-- + +The output is `24`. + +--- + +The output is `14`. + +--- + +The output is `15`. + +--- + +The output is `12`. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md new file mode 100644 index 00000000000..7434c01f073 --- /dev/null +++ b/curriculum/challenges/ukrainian/16-the-odin-project/top-learn-function-basics/learn-function-basics-question-f.md @@ -0,0 +1,52 @@ +--- +id: 6617aef85b87c334e7ae8017 +title: Learn Function Basics Question F +challengeType: 15 +dashedName: learn-function-basics-question-f +--- + +# --description-- + +Arrow functions are a more modern way to write functions in JavaScript. They provide a more compact syntax compared to traditional function expressions. Arrow functions are defined using the `=>` syntax. + +```js +const add = (a, b) => { + return a + b; +} +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword is used to return the result of the addition operation. + +If the arrow function has only one expression, the curly braces `{}` and the `return` keyword can be omitted. The expression will be implicitly returned. + +```js +const add = (a, b) => a + b; +``` + +In the example above, the arrow function `add` takes two parameters `a` and `b` and returns their sum. The `return` keyword and curly braces `{}` are omitted, and the result of the addition operation is implicitly returned. + +# --question-- + +## --text-- + +What makes arrow functions different from traditional function expressions in JavaScript? + +## --answers-- + +They cannot return values. + +--- + +They cannot take parameters. + +--- + +They have a more compact syntax compared to traditional function expressions. + +--- + +They require the use of the `function` keyword. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/651dd5296ffb500e3f2ce479.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/651dd5296ffb500e3f2ce479.md index 3d4bb660876..0c232b7f6b9 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/651dd5296ffb500e3f2ce479.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/651dd5296ffb500e3f2ce479.md @@ -14,7 +14,7 @@ Maria: Hello! You're the new graphic designer, right? В англійській мові часто використовують скорочення, щоб мова звучала більш природною та вільною. `You're` є скороченням `you are`. -Це скорочення є комбінацією займенника `you` та дієслова `are`, яке є частиною дієслова `to be`. `Are` використовується в теперішньому часі, щоб утворити стверджувальне речення або поставити запитання. Це типовий спосіб підтвердити чиюсь посаду або особистість англійською мовою. +Це скорочення є комбінацією займенника `you` та дієслова `are`, яке є частиною дієслова `to be`. `Are` використовується в теперішньому часі, щоб утворити стверджувальне речення або поставити запитання. Це типовий спосіб підтвердити чиюсь посаду або особу англійською мовою. # --fillInTheBlank-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/655283c039eb38f51e0e6f7e.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/655283c039eb38f51e0e6f7e.md index b77e6c2c7f6..c05ab291496 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/655283c039eb38f51e0e6f7e.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/655283c039eb38f51e0e6f7e.md @@ -18,7 +18,7 @@ Tom: Hi, that's right! I'm Tom McKenzie. It's a pleasure to meet you. ## --text-- -Який з варіантів використовує Том, щоб представитись формально? +Який з варіантів використовує Том, щоб представитись офіційно? ## --answers-- @@ -30,7 +30,7 @@ Tom: Hi, that's right! I'm Tom McKenzie. It's a pleasure to meet you. ### --feedback-- -Том надає ім’я та прізвище в формальному стилі. Оберіть варіант, який відповідає цьому. +Том надає ім’я та прізвище в офіційному стилі. Оберіть варіант, який відповідає цьому. --- @@ -38,7 +38,7 @@ Tom: Hi, that's right! I'm Tom McKenzie. It's a pleasure to meet you. ### --feedback-- -Том надає ім’я та прізвище в формальному стилі. Оберіть варіант, який відповідає цьому. +Том надає ім’я та прізвище в офіційному стилі. Оберіть варіант, який відповідає цьому. --- @@ -46,7 +46,7 @@ Tom: Hi, that's right! I'm Tom McKenzie. It's a pleasure to meet you. ### --feedback-- -Том надає ім’я та прізвище в формальному стилі. Оберіть варіант, який відповідає цьому. +Том надає ім’я та прізвище в офіційному стилі. Оберіть варіант, який відповідає цьому. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/65529784e7cb6e24eb03a1af.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/65529784e7cb6e24eb03a1af.md index 81285f909fd..3a417a8ce16 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/65529784e7cb6e24eb03a1af.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/65529784e7cb6e24eb03a1af.md @@ -28,7 +28,7 @@ Maria: Welcome aboard, Tom! How do you like California so far? ### --feedback-- -Пропуск стосується того, як запитувати чиюсь думку або враження щодо чогось. +Дієслово на місці пропуску стосується того, як запитувати чиюсь думку або враження щодо чогось. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/6568c759cb59e810dfaa1506.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/6568c759cb59e810dfaa1506.md index dc1eddeb490..1d5fa9f4be8 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/6568c759cb59e810dfaa1506.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/6568c759cb59e810dfaa1506.md @@ -22,7 +22,7 @@ Tom: I like it. It's different from Texas, but I like it here. ## --answers-- -Йому не подобається Каліфорнія. +Йому некомфортно в Каліфорнії. ### --feedback-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a2b1c7216c026fcd156c7.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a2b1c7216c026fcd156c7.md index b3b662f864c..93501d33dcb 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a2b1c7216c026fcd156c7.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a2b1c7216c026fcd156c7.md @@ -12,7 +12,7 @@ Tom: Hi, there. I'm Tom. # --description-- -Якщо ви зустрічаєтесь з кимось вперше або хочете привітатись в дружній манері, можна використати `Hi, there`. Це привітання часто використовують в неформальній ситуації або щоб привітатись з кимось, кого ви не дуже добре знаєте. +Якщо ви зустрічаєтесь з кимось вперше або хочете привітатись в дружній манері, можна використати `Hi, there`. Це привітання часто використовують в неофіційній ситуації або щоб привітатись з кимось, кого ви не дуже добре знаєте. # --fillInTheBlank-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a52da3392f631b9f3e022.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a52da3392f631b9f3e022.md index 46fbf98beca..f4b82952d9b 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a52da3392f631b9f3e022.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a52da3392f631b9f3e022.md @@ -12,7 +12,7 @@ Tom: These are great! It is good to stand up a little instead of just sitting al # --description-- -In workplaces, especially in offices, there's a focus on ergonomics and health. One popular discussion is about the benefits of standing instead of sitting continuously. `Stand up` refers to the action of rising from a sitting position, while `sitting` means being in a position where one's weight is supported by one's buttocks rather than one's feet. +На робочому місці, особливо в офісі, концентрують увагу на ергономіці та здоров’ї. Одна з популярних дискусій стосується того, що краще стояти, а не сидіти весь час. `Stand up` — це дія підйому з сидячого положення, а `sitting` означає перебувати в положенні, коли вага опирається на сідниці, а не на ноги. # --fillInTheBlank-- @@ -26,7 +26,7 @@ In workplaces, especially in offices, there's a focus on ergonomics and health. ### --feedback-- -Think of the two actions that are commonly contrasted in discussions about office ergonomics. +Згадайте дві дії, які часто порівнюють при обговоренні ергономіки. --- @@ -34,7 +34,7 @@ Think of the two actions that are commonly contrasted in discussions about offic ### --feedback-- -Think of the two actions that are commonly contrasted in discussions about office ergonomics. +Згадайте дві дії, які часто порівнюють при обговоренні ергономіки. --- @@ -42,7 +42,7 @@ Think of the two actions that are commonly contrasted in discussions about offic ### --feedback-- -Think of the two actions that are commonly contrasted in discussions about office ergonomics. +Згадайте дві дії, які часто порівнюють при обговоренні ергономіки. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a533c5a7e5231e15b93b4.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a533c5a7e5231e15b93b4.md index fbfca2c2e86..404122a9232 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a533c5a7e5231e15b93b4.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a533c5a7e5231e15b93b4.md @@ -12,13 +12,13 @@ Tom: They are great! It is good to stand up a little instead of sitting all the # --description-- -It's common to discuss habits and practices that can benefit one's health during work, especially in an office setting. Tom is expressing his preference in the dialogue. +Люди часто обговорюють звички та практики, які можуть корисно впливати на здоров’я під час роботи, особливо в офісі. Том висловлює свої вподобання в діалозі. # --question-- ## --text-- -What does Tom suggest is a good thing to do occasionally? +Що пропонує робити Том час від часу? ## --answers-- @@ -26,7 +26,7 @@ What does Tom suggest is a good thing to do occasionally? ### --feedback-- -Tom is talking about an alternative to sitting continuously at the workplace. +Том говорить про альтернативу постійному сидінню на робочому місці. --- @@ -34,7 +34,7 @@ Tom is talking about an alternative to sitting continuously at the workplace. ### --feedback-- -Tom is talking about an alternative to sitting continuously at the workplace. +Том говорить про альтернативу постійному сидінню на робочому місці. --- @@ -42,7 +42,7 @@ Tom is talking about an alternative to sitting continuously at the workplace. ### --feedback-- -Tom is talking about an alternative to sitting continuously at the workplace. +Том говорить про альтернативу постійному сидінню на робочому місці. --- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a538cc4109d3209f5f536.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a538cc4109d3209f5f536.md index b2477a4ad77..0a4aa166faf 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a538cc4109d3209f5f536.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a538cc4109d3209f5f536.md @@ -12,7 +12,7 @@ Sophie: That is true. # --description-- -When you want to express agreement or affirmation to what someone has just said, you can use phrases like `That's so true` or `That is true`. It's a way to show you are in alignment with the previous statement. +Якщо ви хочете погодитись з твердженням, яке сказав співрозмовник, можете використати `That's so true` або `That is true`. Так ви покажете, що погоджуєтесь з твердженням. # --fillInTheBlank-- @@ -26,7 +26,7 @@ When you want to express agreement or affirmation to what someone has just said, ### --feedback-- -Think of a term that indicates agreement with a prior statement. +Згадайте фразу, яка виражає згоду з попереднім твердженням. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a54278a4df6323549e8f9.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a54278a4df6323549e8f9.md index 29d7239cd32..ed463cb98a6 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a54278a4df6323549e8f9.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a54278a4df6323549e8f9.md @@ -7,13 +7,13 @@ dashedName: task-54 # --description-- -The word `that` points to something a bit far from you. Imagine you're in a shop looking at gadgets. +Слово `that` вказує на щось, що розташовано далеко. Уявіть, що ви в магазині та роздивляєтесь гаджети. # --question-- ## --text-- -You see a tablet far away and say: `___ is the tablet I want.` +Ви бачите планшет далеко від себе та кажете: `___ is the tablet I want.` ## --answers-- @@ -21,7 +21,7 @@ You see a tablet far away and say: `___ is the tablet I want.` ### --feedback-- -`This` is for things close to you. +`This` стосується того, що розташовано близько. --- @@ -29,7 +29,7 @@ You see a tablet far away and say: `___ is the tablet I want.` ### --feedback-- -`Tablet` is one thing, not many. +`Tablet` — це один предмет, а не декілька. --- @@ -45,7 +45,7 @@ Feedback3. ### --feedback-- -`Those` is for many things far from you. +`Those` стосується декількох предметів, розташованих далеко. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a549c4d9b91326cfe1863.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a549c4d9b91326cfe1863.md index 1b2b55f946c..f7d6fef9b7d 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a549c4d9b91326cfe1863.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a549c4d9b91326cfe1863.md @@ -7,7 +7,7 @@ dashedName: task-55 # --description-- -Use `this` for something close and `that` for something a bit far. +Використовуйте `this` для того, що розташовано близько, а `that` — для того, що розташовано далеко. # --fillInTheBlank-- @@ -21,7 +21,7 @@ Use `this` for something close and `that` for something a bit far. ### --feedback-- -What word do you use for something right next to you? +Яке слово потрібно використати для того, що розташовано близько? --- @@ -29,4 +29,4 @@ What word do you use for something right next to you? ### --feedback-- -If you're pointing to something a little far, which word fits? +Ви вказуєте на щось, що розташовано далеко від вас. Яке слово потрібно використати? diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a554956201b329a0d182a.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a554956201b329a0d182a.md index 8bc53ad0e7e..759344d30ff 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a554956201b329a0d182a.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a554956201b329a0d182a.md @@ -7,13 +7,13 @@ dashedName: task-56 # --description-- -When talking about devices or tools, `this` and `that` help you show which one. +Коли мова йде про пристрої або інструменти, `this` та `that` допомагають вказати, про що саме ви говорите. # --question-- ## --text-- -Pick the sentence that uses `this` and `that` correctly. +Оберіть речення, в якому правильно використано `this` та `that`. ## --answers-- @@ -21,7 +21,7 @@ Pick the sentence that uses `this` and `that` correctly. ### --feedback-- -Correct! `This` is for the mouse close by, and `that` for the one farther away. +Правильно! `This` позначає мишку поруч, а `that` — ту, яка розташована далеко. --- @@ -29,7 +29,7 @@ Correct! `This` is for the mouse close by, and `that` for the one farther away. ### --feedback-- -The sentence structure is awkward. Normally, `this` and `that` are not used in this manner, and the words `room` and `table` make the locations confusing. +Структура речення дивна. Зазвичай, `this` та `that` не використовують таким чином, а слова `room` та `table` можуть ускладнити розуміння місця. --- @@ -37,7 +37,7 @@ The sentence structure is awkward. Normally, `this` and `that` are not used in t ### --feedback-- -`Wires` is plural, so the correct form should be `these are,` not `that are`. +`Wires` — множина, тому правильно `these are`, а не `that are`. --- @@ -45,7 +45,7 @@ The sentence structure is awkward. Normally, `this` and `that` are not used in t ### --feedback-- -The sentence is incomplete. Additionally, `games` is plural, so `those games` would be correct. +Це речення неповне. До того ж, `games` — множина, тому правильно `those games`. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a55ea17414032d482d278.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a55ea17414032d482d278.md index 54f41bdf234..8d647d76977 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a55ea17414032d482d278.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a55ea17414032d482d278.md @@ -12,13 +12,13 @@ Sophie: That is true. I am a bit inactive, sitting all the time. This is a good # --description-- -People sometimes describe how active or inactive they are during their daily routines. In this case, Sophie is commenting on her own activity level at work. +Іноді люди описують, наскільки вони активні чи неактивні протягом робочого дня. У цьому разі Софі коментує свій рівень активності на роботі. # --question-- ## --text-- -How does Sophie describe her activity level when she's working? +Як Софі описує свій рівень активності під час роботи? ## --answers-- @@ -26,7 +26,7 @@ How does Sophie describe her activity level when she's working? ### --feedback-- -Sophie comments on how much she sits during work. Which word would best describe someone who sits a lot? +Софі коментує, скільки часу вона проводить в сидячому положенні. Яке слово найкраще підходить під цей опис? --- @@ -34,7 +34,7 @@ Sophie comments on how much she sits during work. Which word would best describe ### --feedback-- -Sophie comments on how much she sits during work. Which word would best describe someone who sits a lot? +Софі коментує, скільки часу вона проводить в сидячому положенні. Яке слово найкраще підходить під цей опис? --- @@ -46,7 +46,7 @@ Sophie comments on how much she sits during work. Which word would best describe ### --feedback-- -Sophie comments on how much she sits during work. Which word would best describe someone who sits a lot? +Софі коментує, скільки часу вона проводить в сидячому положенні. Яке слово найкраще підходить під цей опис? ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a56f89acf253314e9f6d6.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a56f89acf253314e9f6d6.md index 25c775f9139..728b896a05a 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a56f89acf253314e9f6d6.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a56f89acf253314e9f6d6.md @@ -7,41 +7,41 @@ dashedName: task-58 # --description-- -The word `inactive` is used to describe a state of not being active or engaged in physical movement. It can refer to a lack of physical activity or any kind of action. +Слово `inactive` використовують, щоб описати стан, коли людина неактивна або не залучена в фізичну активність. Воно може означати відсутність фізичної активності або будь-якої іншої дії. # --question-- ## --text-- -What does `inactive` mean in the context of the dialogue? +Що означає `inactive` в контексті діалогу? ## --answers-- -Very active and always moving +Дуже активний і завжди рухається ### --feedback-- -This is the opposite of `inactive`. `Inactive` means not being active. +Це протилежність до `inactive`. `Inactive` означає не бути активним. --- -Not taking any actions +Не виконує жодних дій ### --feedback-- -While this can be a form of inactivity, in the context, Sophie is talking about physical activity. +Це може бути формою неактивності, але в цьому контексті Софі говорить про фізичну активність. --- -Not being physically active +Не є фізично активним --- -Working without breaks +Працює без перерв ### --feedback-- -This doesn't necessarily mean inactivity. Sophie specifically refers to her lack of movement. +Це не завжди означає неактивність. Софі має на увазі відсутність руху. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a575febfa2c333c495c2f.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a575febfa2c333c495c2f.md index dcc581b4919..a8c42b9bad2 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a575febfa2c333c495c2f.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a575febfa2c333c495c2f.md @@ -12,7 +12,7 @@ Sophie: This is a good alternative for me. # --description-- -When faced with a situation or habit that is not ideal, people often look for an `alternative`. In this context, Sophie is discussing a better option for her compared to her usual routine. +Якщо людина незадоволена ситуацією або звичкою, вона шукає `alternative`. У цьому контексті Софі обговорює кращий варіант для її звичайної рутини. # --fillInTheBlank-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a57d2c0603e33638c7770.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a57d2c0603e33638c7770.md index 4cc338ac4e9..67b4fed563c 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a57d2c0603e33638c7770.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a57d2c0603e33638c7770.md @@ -7,41 +7,41 @@ dashedName: task-60 # --description-- -An `alternative` refers to another option or solution that is different from the one currently in use or being considered. +`Alternative` стосується іншого варіанту або вибору, що відрізняється від того, який використовується зараз. # --question-- ## --text-- -What does `alternative` mean in the dialogue? +Що означає `alternative` в цьому діалозі? ## --answers-- -The same choice +Той самий вибір ### --feedback-- -An `alternative` means a different choice, not the same one. +`Alternative` означає інший вибір, а не той самий. --- -A different option or choice +Інший варіант або вибір --- -The only option +Єдиний вибір ### --feedback-- -`Alternative` suggests there are other options available, not just one. +`Alternative` означає, що доступні інші варіанти. --- -A mistake +Помилку ### --feedback-- -This doesn't relate to the context of the dialogue or the meaning of `alternative`. +Це не стосується контексту діалогу або значення слова `alternative`. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a584f57a1a9338e3cb347.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a584f57a1a9338e3cb347.md index ec47d465856..c5c8ac70cb3 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a584f57a1a9338e3cb347.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a584f57a1a9338e3cb347.md @@ -7,7 +7,7 @@ dashedName: task-61 # --description-- -Words like `your` and `my` are used to show possession. `Your` refers to something belonging to the person you are speaking to, while `my` refers to something that belongs to you. +Слова `your` та `my` використовують, щоб показати власність. `Your` означає, що річ належить людині, з якою ви говорите, а `my` означає, що річ належить вам. # --fillInTheBlank-- @@ -21,7 +21,7 @@ Words like `your` and `my` are used to show possession. `Your` refers to somethi ### --feedback-- -`Your` indicates possession for the listener, while `my` indicates possession for the speaker. In this dialogue, Sophie is making a comparison between Tom's desk (the listener's) and her own desk (the speaker's). +`Your` виражає власність слухача, а `my` виражає власність мовця. У цьому діалозі Софі порівнює стіл Тома зі своїм. --- @@ -29,7 +29,7 @@ Words like `your` and `my` are used to show possession. `Your` refers to somethi ### --feedback-- -`Your` indicates possession for the listener, while `my` indicates possession for the speaker. In this dialogue, Sophie is making a comparison between Tom's desk (the listener's) and her own desk (the speaker's). +`Your` виражає власність слухача, а `my` виражає власність мовця. У цьому діалозі Софі порівнює стіл Тома зі своїм. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a58b31bc9f233debc2bc9.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a58b31bc9f233debc2bc9.md index 626b1bd615d..1bf57fc76be 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a58b31bc9f233debc2bc9.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656a58b31bc9f233debc2bc9.md @@ -12,7 +12,7 @@ Sophie: But hey, your desk is just like my desk. You are in luck. # --description-- -Certain expressions in English convey meanings that are not immediately clear from the individual words. `You're in luck` is one such expression. It expresses that someone is fortunate or has good luck in a situation. Sophie uses such a phrase when talking to Tom. +Деякі вирази в англійській мові передають значення, що не одразу зрозуміле. Наприклад, `You're in luck`. Це означає, що людина везуча або їй пощастило в певній ситуації. Софі використовує цю фразу, коли говорить з Томом. # --fillInTheBlank-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab31ebccec247fde7cee4.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab31ebccec247fde7cee4.md index 2c628969bec..6cc67d56965 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab31ebccec247fde7cee4.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab31ebccec247fde7cee4.md @@ -12,7 +12,7 @@ Tom: Oh, awesome. My computer and drawing tablet are great, too. # --description-- -`Awesome` is a word people use when they really like something. It's like saying `very good!` It's an informal way to show approval or admiration. +Люди використовують `awesome`, коли говорять про щось, що їм дійсно подобається. Це те ж саме, що й `very good!`. Це неофіційний спосіб показати згоду або захоплення. # --fillInTheBlank-- @@ -26,7 +26,7 @@ Tom: Oh, awesome. My computer and drawing tablet are great, too. ### --feedback-- -Listen for a word that means `very good` or `I really like it.` +Уважно послухайте, щоб почути слово, яке означає `very good` або `I really like it.` # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab3bfc9e49d4841672043.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab3bfc9e49d4841672043.md index f68e66ab0ff..8bebb25c12f 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab3bfc9e49d4841672043.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab3bfc9e49d4841672043.md @@ -7,41 +7,41 @@ dashedName: task-64 # --description-- -When someone says `too` at the end of a sentence, they mean `also` or `as well`. For example, `I like it too` means `I also like it`. Adding `too` at the end of a statement implies agreement or adds emphasis that a similar condition or fact applies to what's being discussed. +Якщо хтось каже `too` в кінці речення, то це означає `also` або `as well`. Наприклад, `I like it too` означає `I also like it`. Додаючи `too` в кінці речення, ви вказуєте на згоду або акцентуєте на тому, що подібна умова або факт стосується теми обговорення. # --question-- ## --text-- -What is Tom implying with `are great, too`? Why does Tom say `are great, too`? +Що має на увазі Том під `are great, too`? Чому він каже `are great, too`? ## --answers-- -He doesn't like his computer. +Йому не подобається комп’ютер. ### --feedback-- -`Too` means `also`. Think about what else Tom thinks is good. +`Too` означає `also`. Подумайте, що ще подобається Тому. --- -He only likes his drawing tablet. +Йому подобається лише графічний планшет. ### --feedback-- -`Too` means `also`. Think about what else Tom thinks is good. +`Too` означає `also`. Подумайте, що ще подобається Тому. --- -He thinks both his computer and drawing tablet are good, like something else he talked about. +Він вважає, що комп’ютер і графічний планшет хороші, як і те, про що він говорив раніше. --- -He doesn't think they're good. +Він не вважає пристрої хорошими. ### --feedback-- -`Too` means `also`. Think about what else Tom thinks is good. +`Too` означає `also`. Подумайте, що ще подобається Тому. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab4205a4054486ef3b691.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab4205a4054486ef3b691.md index a6a09e36a31..df42c6e59b0 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab4205a4054486ef3b691.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab4205a4054486ef3b691.md @@ -12,7 +12,7 @@ Tom: Oh, awesome. My computer and drawing tablet are great, too. # --description-- -Tom is saying that he likes his things. He uses words to show he's happy with them. +Том стверджує, що йому подобаються його речі. Він використовує певні слова, щоб виразити задоволення. # --fillInTheBlank-- @@ -26,7 +26,7 @@ Tom is saying that he likes his things. He uses words to show he's happy with th ### --feedback-- -Tom is using words to say his things are good. What words show that he thinks they're good? +Том використовує певні слова, щоб виразити задоволення своїми речами. Які слова підходять для опису? --- @@ -34,7 +34,7 @@ Tom is using words to say his things are good. What words show that he thinks th ### --feedback-- -Tom is using words to say his things are good. What words show that he thinks they're good? +Том використовує певні слова, щоб виразити задоволення своїми речами. Які слова підходять для опису? # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab48697d63748952254a4.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab48697d63748952254a4.md index 8a39f3387e5..bffb06f01ed 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab48697d63748952254a4.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab48697d63748952254a4.md @@ -12,7 +12,7 @@ Sophie: Yeah. Here in the company, they are very attentive to these details. # --description-- -The pronoun `they` is often used to refer to a group of people or entities. In this context, `they` refers to the people responsible within the company. `Are` is the verb `to be` conjugated to agree with the plural pronoun `they`. +Займенник `they` часто використовують, коли говорять про групу людей чи організацію. У цьому контексті `they` означає групу людей, які несуть відповідальність в компанії. `Are` є дієсловом `to be`, узгодженим з `they`. # --fillInTheBlank-- @@ -26,7 +26,7 @@ The pronoun `they` is often used to refer to a group of people or entities. In t ### --feedback-- -Think about a pronoun that represents a group of people and the appropriate verb `to be` form to go with it. +Згадайте займенник, який представляє групу людей, та відповідне дієслово `to be`, узгоджене з займенником. --- @@ -34,7 +34,7 @@ Think about a pronoun that represents a group of people and the appropriate verb ### --feedback-- -Think about a pronoun that represents a group of people and the appropriate verb `to be` form to go with it. +Згадайте займенник, який представляє групу людей, та відповідне дієслово `to be`, узгоджене з займенником. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab50005c38348b94da7a3.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab50005c38348b94da7a3.md index c2f78096fde..7619ef708d3 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab50005c38348b94da7a3.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab50005c38348b94da7a3.md @@ -7,7 +7,7 @@ dashedName: task-67 # --description-- -When referring to a group of people or things, we often use `they` as the subject. Usually after a subject there's a verb. When `they` is followed by the verb `to be` in the present simple, it is conjugated as `are`. Example: `They are my colleagues.` +Якщо мова йде про групу людей або предметів, як підмет часто використовують `they`. Зазвичай після підмета йде присудок. Якщо після `they` йде дієслово `to be` в теперішньому часі, воно відміняється як `are`. Наприклад, `They are my colleagues.` # --fillInTheBlank-- @@ -21,7 +21,7 @@ When referring to a group of people or things, we often use `they` as the subjec ### --feedback-- -Consider which pronoun you'd use to represent a group or multiple items and match it with the appropriate verb form. +Подумайте, який займенник використовують, щоб описати певну групу, та згадайте відповідну форму дієслова. --- @@ -29,7 +29,7 @@ Consider which pronoun you'd use to represent a group or multiple items and matc ### --feedback-- -Consider which pronoun you'd use to represent a group or multiple items and match it with the appropriate verb form. +Подумайте, який займенник використовують, щоб описати певну групу, та згадайте відповідну форму дієслова. --- @@ -37,7 +37,7 @@ Consider which pronoun you'd use to represent a group or multiple items and matc ### --feedback-- -Consider which pronoun you'd use to represent a group or multiple items and match it with the appropriate verb form. +Подумайте, який займенник використовують, щоб описати певну групу, та згадайте відповідну форму дієслова. --- @@ -45,4 +45,4 @@ Consider which pronoun you'd use to represent a group or multiple items and matc ### --feedback-- -Consider which pronoun you'd use to represent a group or multiple items and match it with the appropriate verb form. +Подумайте, який займенник використовують, щоб описати певну групу, та згадайте відповідну форму дієслова. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab5a3ee689949124d2e39.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab5a3ee689949124d2e39.md index c8ac01456ff..3978fd0ff09 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab5a3ee689949124d2e39.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab5a3ee689949124d2e39.md @@ -7,13 +7,13 @@ dashedName: task-68 # --description-- -In English, the pronoun `they` is used for multiple people or things. When talking about the present, `they` is often paired with `are`. +Займенник `they` в англійській мові використовують до декількох людей або предметів. Якщо говорять в теперішньому часі, то `they` часто використовується разом з `are`. # --question-- ## --text-- -Which of these sentences uses `they are` correctly? +В яких реченнях правильно використано `they are`? ## --answers-- @@ -21,7 +21,7 @@ Which of these sentences uses `they are` correctly? ### --feedback-- -All the options show instances where `they` is used to represent multiple people or things in the present. +У всіх варіантах представлено випадки, де `they` використано, щоб представити декілька людей чи предметів в теперішньому часі. --- @@ -29,7 +29,7 @@ All the options show instances where `they` is used to represent multiple people ### --feedback-- -All the options show instances where `they` is used to represent multiple people or things in the present. +У всіх варіантах представлено випадки, де `they` використано, щоб представити декілька людей чи предметів в теперішньому часі. --- @@ -37,11 +37,11 @@ All the options show instances where `they` is used to represent multiple people ### --feedback-- -All the options show instances where `they` is used to represent multiple people or things in the present. +У всіх варіантах представлено випадки, де `they` використано, щоб представити декілька людей чи предметів в теперішньому часі. --- -All of the above. +Усе перелічене вище. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab61f20aa9d494cee5466.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab61f20aa9d494cee5466.md index 38bfd711c86..a93a7b3d879 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab61f20aa9d494cee5466.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab61f20aa9d494cee5466.md @@ -7,13 +7,13 @@ dashedName: task-69 # --description-- -In English, people often use abbreviations to make speech or writing more concise. `They are` can be abbreviated to form a contraction. +В англійській мові часто використовуються скорочення, щоб висловити думку більш стисло. `They are` також можна скоротити. # --question-- ## --text-- -Which of the following is the correct abbreviation for `they are`? +Яке правильне скорочення до `they are`? ## --answers-- @@ -25,7 +25,7 @@ Which of the following is the correct abbreviation for `they are`? ### --feedback-- -This is a possessive adjective and is not an abbreviation for `they are`. +Це присвійний прикметник, а не скорочення до `they are`. --- @@ -33,7 +33,7 @@ This is a possessive adjective and is not an abbreviation for `they are`. ### --feedback-- -This is not a standard contraction in English. +Це не стандартне скорочення англійською мовою. --- @@ -41,7 +41,7 @@ This is not a standard contraction in English. ### --feedback-- -Without the apostrophe and `re`, this is just the pronoun without the verb. +Без апострофа та `re`, це звичайний займенник без дієслова. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab66db70b464974489b79.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab66db70b464974489b79.md index 9a4b7ce8734..d3ec696bd8b 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab66db70b464974489b79.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab66db70b464974489b79.md @@ -7,7 +7,7 @@ dashedName: task-70 # --description-- -Contractions make speech sound more natural and informal. `They're` is the contracted form of `they are`. +Завдяки скороченням мова стає більш природною та неофіційною. `They're` є скороченою формою до `they are`. # --fillInTheBlank-- @@ -21,4 +21,4 @@ Contractions make speech sound more natural and informal. `They're` is the contr ### --feedback-- -Think about the contraction that represents `they are`. +Згадайте скорочення до `they are`. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab6f67515b149a377009d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab6f67515b149a377009d.md index 14204d9dc8c..00b72f04ddc 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab6f67515b149a377009d.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab6f67515b149a377009d.md @@ -7,13 +7,13 @@ dashedName: task-71 # --description-- -`They're`, `their`, and `there` sound similar but have different meanings. `They're` is a contraction of `they are`, `their` is a possessive pronoun of `they`, and `there` refers to a place or introduces a sentence or clause. +`They're`, `their` та `there` звучать дуже схоже, але мають різне значення. `They're` — це скорочення до `they are`, `their` — це присвійний займенник до `they`, а `there` позначає місце або виступає на початку речення. # --question-- ## --text-- -Which of the following sentences uses `they're` correctly? +В якому з речень правильно використано `they're`? ## --answers-- @@ -21,7 +21,7 @@ Which of the following sentences uses `they're` correctly? ### --feedback-- -The correct word here should be `there`, referring to a place. +Правильним словом має бути `there`, що вказує місце. --- @@ -29,7 +29,7 @@ The correct word here should be `there`, referring to a place. ### --feedback-- -The correct word should be `their` to indicate possession. +Правильним словом має бути `their`, що вказує власність. --- @@ -41,7 +41,7 @@ The correct word should be `their` to indicate possession. ### --feedback-- -Again, the correct word to refer to a location would be `there`. +Правильним словом має бути `there`, що вказує місце. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab76473a1ee49d537698d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab76473a1ee49d537698d.md index 25f14c0bfc7..831a8ae4a29 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab76473a1ee49d537698d.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab76473a1ee49d537698d.md @@ -7,41 +7,41 @@ dashedName: task-72 # --description-- -Being `attentive` means paying careful attention or listening carefully. +Бути `attentive` означає звертати увагу або уважно слухати. # --question-- ## --text-- -What does `attentive` mean in the context of the text below? +Що означає `attentive` в цьому контексті? ## --answers-- -Not paying attention +Не звертати уваги ### --feedback-- -This is the opposite of being attentive. +Це протилежність до `attentive`. --- -Looking somewhere else +Дивитись в інший напрямок ### --feedback-- -Being attentive means you are focusing, not looking away. +Бути `attentive` означає фокусуватись, а не дивись кудись інше. --- -Listening carefully +Уважно слухати --- -Not listening +Не слухати ### --feedback-- -When you're attentive, you are listening or paying attention, not ignoring. +Якщо ви `attentive`, то ви слухаєте та звертаєте увагу, а не ігноруєте. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab7e9be47c04a2518dbed.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab7e9be47c04a2518dbed.md index 5b3870a81df..fd2dc982dee 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab7e9be47c04a2518dbed.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab7e9be47c04a2518dbed.md @@ -7,41 +7,41 @@ dashedName: task-73 # --description-- -The phrase `you are into` is an informal way to say that someone really likes something or is interested in a particular activity or topic. +Фраза `you are into` — неофіційний спосіб сказати, що щось комусь подобається або людина дійсно зацікавлена в певній темі. # --question-- ## --text-- -What does the phrase `you are into` mean? +Що означає `you are into`? ## --answers-- -To go inside +Увійти всередину ### --feedback-- -This is a literal interpretation, but `you are into` is more about liking or being interested in something. +Це буквальне значення, але `you are into` означає бути зацікавленим у чомусь. --- -To not like +Не подобатись ### --feedback-- -This is the opposite of the expression's meaning. +Це протилежне значення виразу. --- -To be interested in or really like +Бути зацікавленим в чомусь --- -To be on top of +Бути на верху чогось ### --feedback-- -This is another literal interpretation. Think about showing interest or liking. +Це буквальне значення. Згадайте, як виявляють зацікавленість чи вподобання. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab828bd06214a51193f3d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab828bd06214a51193f3d.md index 8f9f120efa3..778d3169d4f 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab828bd06214a51193f3d.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab828bd06214a51193f3d.md @@ -7,7 +7,7 @@ dashedName: task-74 # --description-- -When you want to say that you have a strong interest in something, you can use the phrase `I am into it`. This phrase shows what someone likes or enjoys. +Якщо ви хочете сказати, що зацікавлені в чомусь, можете використати фразу `I am into it`. Ця фраза виражає, що хтось щось любить або насолоджується цим. # --fillInTheBlank-- @@ -21,7 +21,7 @@ When you want to say that you have a strong interest in something, you can use t ### --feedback-- -Think of a casual phrase that means you really like or are interested in something. +Згадайте фразу, яка виражає вподобання або зацікавленість в чомусь. --- @@ -29,4 +29,4 @@ Think of a casual phrase that means you really like or are interested in somethi ### --feedback-- -Think of a casual phrase that means you really like or are interested in something. +Згадайте фразу, яка виражає вподобання або зацікавленість в чомусь. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab8a1d294e14a920320d2.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab8a1d294e14a920320d2.md index 672f0488dbc..d0d877457dd 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab8a1d294e14a920320d2.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656ab8a1d294e14a920320d2.md @@ -7,41 +7,41 @@ dashedName: task-75 # --description-- -`Cutting-edge` refers to the most advanced stage of development of something. `Gadgets` are small tools or devices with a particular function. Thus, `cutting-edge gadgets` are the latest and most advanced tools or devices. +`Cutting-edge` означає останню версію розробки. `Gadgets` — це невеликі інструменти або пристрої, які виконують певну функцію. Тобто `cutting-edge gadgets` — це найновіші передові інструменти чи пристрої. # --question-- ## --text-- -What are `cutting-edge gadgets`? +Що таке `cutting-edge gadgets`? ## --answers-- -Outdated tools +Застарілі інструменти ### --feedback-- -The term `cutting-edge` means the opposite of outdated. +Термін `cutting-edge` означає протилежне. --- -The most modern and advanced devices +Найсучасніші та передові пристрої --- -Simple and basic devices +Прості та базові пристрої ### --feedback-- -`Cutting-edge` implies the latest technology, not basic or simple. +`Cutting-edge` передбачає новітні технології, а не прості чи базові. --- -Large machines +Великі машини ### --feedback-- -`Gadgets` typically refer to smaller devices, not large machines. +`Gadgets` зазвичай позначають малі інструменти, а не великі машини. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656aba8d560d3c4b069ae7a8.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656aba8d560d3c4b069ae7a8.md index b46f96c7475..706c3a24019 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656aba8d560d3c4b069ae7a8.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656aba8d560d3c4b069ae7a8.md @@ -12,7 +12,7 @@ Sophie: Yeah. Here in the company, they are very attentive to these details. You # --description-- -`Cutting-edge gadgets` refers to the most recent and advanced devices. Listening carefully to conversations can help you complete sentences that discuss such topics. +`Cutting-edge gadgets` означають найновіші пристрої. Уважно прослухайте розмову, щоб заповнити прогалини в реченнях на цю тему. # --fillInTheBlank-- @@ -26,7 +26,7 @@ Sophie: Yeah. Here in the company, they are very attentive to these details. You ### --feedback-- -Listen carefully to the dialogue and focus on the words that describe the company's approach to gadgets and the type of gadgets mentioned. +Уважно прослухайте діалог та сфокусуйтесь на словах, які описують підхід компанії до пристроїв та їхній тип. --- @@ -34,7 +34,7 @@ Listen carefully to the dialogue and focus on the words that describe the compan ### --feedback-- -Listen carefully to the dialogue and focus on the words that describe the company's approach to gadgets and the type of gadgets mentioned. +Уважно прослухайте діалог та сфокусуйтесь на словах, які описують підхід компанії до пристроїв та їхній тип. --- @@ -42,7 +42,7 @@ Listen carefully to the dialogue and focus on the words that describe the compan ### --feedback-- -Listen carefully to the dialogue and focus on the words that describe the company's approach to gadgets and the type of gadgets mentioned. +Уважно прослухайте діалог та сфокусуйтесь на словах, які описують підхід компанії до пристроїв та їхній тип. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abac861f4a04b312b0421.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abac861f4a04b312b0421.md index 29febc090b1..27f78ebd57e 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abac861f4a04b312b0421.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abac861f4a04b312b0421.md @@ -12,7 +12,7 @@ Sophie: Yeah. Here in the company, they are very attentive to these details. You # --description-- -The demonstrative pronoun `these` points to specific items or details that are close in context or proximity. It is used to emphasize or clarify something that is currently being discussed. +Вказівний займенник `these` вказує на певні предмети або деталі, які близькі по контексту або за відстанню. Його використовують, щоб підкреслити або уточнити те, що обговорюють. # --fillInTheBlank-- @@ -26,7 +26,7 @@ The demonstrative pronoun `these` points to specific items or details that are c ### --feedback-- -Think of a demonstrative pronoun that can be used to highlight specific details or items being discussed, especially when they are near in context or location. +Згадайте вказівний займенник, який можна використати, щоб підкреслити певні деталі або предмети, які обговорюють, особливо якщо вони близькі по контексту або за відстанню. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abb977f9ecf4b821aed11.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abb977f9ecf4b821aed11.md index 860bc16e4d9..d9ab55b1e8f 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abb977f9ecf4b821aed11.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abb977f9ecf4b821aed11.md @@ -12,41 +12,41 @@ Sophie: Yeah. Here in the company, they are very attentive to these details. You # --description-- -The demonstrative pronoun `these` is used to refer to specific items or details that are close in proximity or context. It's plural and indicates multiple items that are nearby or currently being discussed. +Вказівний займенник `these` вказує на певні предмети або деталі, які близькі по контексту або за відстанню. Він використовується для множини та вказує на декілька предметів, які розташовані близько або є темою обговорення. # --question-- ## --text-- -In the dialogue, what is Sophie using `these` to refer to? +Що має на увазі Софі під `these`? ## --answers-- -The company's policies +Політику компанії ### --feedback-- -While related, Sophie specifically mentions `details` which is broader. +Воно пов’язане, але Софі згадує `details`. --- -The cutting-edge gadgets +Найновіші гаджети ### --feedback-- -Sophie mentions gadgets later in her statement, but `these` directly refers to `details`. +Софі згадує пристрої пізніше, а `these` стосується `details`. --- -The details the company pays attention to +Деталі, на які компанія звертає увагу --- -The people in the company +Людей в компанії ### --feedback-- -The context doesn't suggest that Sophie is discussing people when mentioning `these details`. +В контексті не вказано, що Софі обговорює людей, але згадано `these details`. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abcd4cccfc84bf50f861b.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abcd4cccfc84bf50f861b.md index 0d41cb4e83e..d8882af3dd9 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abcd4cccfc84bf50f861b.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abcd4cccfc84bf50f861b.md @@ -7,13 +7,13 @@ dashedName: task-79 # --description-- -In an office setting, it's common to point out items using `these` and `those`. Remember, `these` points to items near you, while `those` points to items further away. +В офісі часто використовують `these` та `those`, щоб вказати на предмети. Пам’ятайте, що `these` вказує на предмети, розташовані близько, а `those` вказує на предмети, розташовані далеко. # --question-- ## --text-- -Which sentence correctly differentiates between `these` and `those`? +В якому реченні правильно використано `these` та `those`? ## --answers-- @@ -21,7 +21,7 @@ Which sentence correctly differentiates between `these` and `those`? ### --feedback-- -Look for a sentence that uses `these` for multiple items nearby and `those` for multiple items at a distance or not being directly addressed. +Знайдіть речення, де використано `these` для декількох предметів поблизу та `those` для декількох предметів далеко. --- @@ -29,7 +29,7 @@ Look for a sentence that uses `these` for multiple items nearby and `those` for ### --feedback-- -Look for a sentence that uses `these` for multiple items nearby and `those` for multiple items at a distance or not being directly addressed. +Знайдіть речення, де використано `these` для декількох предметів поблизу та `those` для декількох предметів далеко. --- @@ -41,7 +41,7 @@ Look for a sentence that uses `these` for multiple items nearby and `those` for ### --feedback-- -Look for a sentence that uses `these` for multiple items nearby and `those` for multiple items at a distance or not being directly addressed. +Знайдіть речення, де використано `these` для декількох предметів поблизу та `those` для декількох предметів далеко. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abd3412f31c4c2483de5c.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abd3412f31c4c2483de5c.md index 0513af27329..b4170e54d00 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abd3412f31c4c2483de5c.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abd3412f31c4c2483de5c.md @@ -7,13 +7,13 @@ dashedName: task-80 # --description-- -Demonstrative pronouns `this`, `these`, and `those` are used to point out specific things. `This` refers to a singular item nearby, `these` to multiple items nearby, and `those` to items further away. +Вказівні займенники `this`, `these` та `those` вказують на певні предмети. `This` позначає один предмет поблизу, `these` позначає декілька предметів поблизу, а `those` — декілька предметів далеко. # --question-- ## --text-- -Which sentence uses the demonstrative pronouns correctly? +В якому реченні правильно використано вказівний займенник? ## --answers-- @@ -21,7 +21,7 @@ Which sentence uses the demonstrative pronouns correctly? ### --feedback-- -Remember to match the number (singular/plural) of the noun with the appropriate demonstrative pronoun. Also, consider the implied distance or immediacy of the items being talked about. +Не забудьте, що категорія числа іменника (однина чи множина) має відповідати займеннику. Також зверніть увагу на відстань до предметів, про які говорять. --- @@ -29,7 +29,7 @@ Remember to match the number (singular/plural) of the noun with the appropriate ### --feedback-- -Remember to match the number (singular/plural) of the noun with the appropriate demonstrative pronoun. Also, consider the implied distance or immediacy of the items being talked about. +Не забудьте, що категорія числа іменника (однина чи множина) має відповідати займеннику. Також зверніть увагу на відстань до предметів, про які говорять. --- @@ -41,7 +41,7 @@ Remember to match the number (singular/plural) of the noun with the appropriate ### --feedback-- -Remember to match the number (singular/plural) of the noun with the appropriate demonstrative pronoun. Also, consider the implied distance or immediacy of the items being talked about. +Не забудьте, що категорія числа іменника (однина чи множина) має відповідати займеннику. Також зверніть увагу на відстань до предметів, про які говорять. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abe0ac290774c4de173d4.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abe0ac290774c4de173d4.md index 34fac2d15bd..a7031681eb1 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abe0ac290774c4de173d4.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656abe0ac290774c4de173d4.md @@ -7,11 +7,11 @@ dashedName: task-81 # --description-- -People often refer to items around them using `this`, `that`, `these`, and `those`. Your task is to identify the correct demonstrative pronouns to complete the sentences. Pay attention to the context, which will give you clues about proximity and number. +Люди часто вказують на предмети, використовуючи `this`, `that`, `these` та `those`. Ваше завдання — написати правильні вказівні займенники, щоб завершити речення. Зверніть увагу на контекст, що допоможе зрозуміти розташування та категорію числа. # --instructions-- -Fill in the blanks with `This`, `That`, `These`, and `Those`. +Заповніть прогалини, використовуючи `This`, `That`, `These` та `Those`. # --fillInTheBlank-- @@ -25,7 +25,7 @@ Fill in the blanks with `This`, `That`, `These`, and `Those`. ### --feedback-- -The computer is singular and right next to the speaker, indicating immediacy. +`Computer` — це однина, і він розташований біля мовця. --- @@ -33,7 +33,7 @@ The computer is singular and right next to the speaker, indicating immediacy. ### --feedback-- -Printer is singular, but it's across the room, indicating it's farther away. +`Printer` — це однина, і він розташований в іншому кінці кімнати. --- @@ -41,7 +41,7 @@ Printer is singular, but it's across the room, indicating it's farther away. ### --feedback-- -Chairs are plural and located around a nearby table, indicating closeness. +`Chairs` — це множина, і вони розташовані біля найближчого стола. --- @@ -49,4 +49,4 @@ Chairs are plural and located around a nearby table, indicating closeness. ### --feedback-- -Files are plural, and they're in a distant cabinet, showing they're not close. +`Files` — це множина, і вони розташовані у віддаленому ящику. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cad88af98af049df17177.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cad88af98af049df17177.md index 036c5e96d3c..9238989a99c 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cad88af98af049df17177.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cad88af98af049df17177.md @@ -7,41 +7,41 @@ dashedName: task-82 # --description-- -Expressions like `This is so cool` are informal ways to show admiration or excitement about something. +Вирази типу `This is so cool` — неофіційний спосіб виразити захоплення чимось. # --question-- ## --text-- -What does Tom mean by saying `This is so cool`? +Що має на увазі Том, коли каже `This is so cool`? ## --answers-- -He thinks the temperature is very cold. +Він думає, що в офісі холодно. ### --feedback-- -The phrase isn't about the actual temperature. +Фраза не стосується температури. --- -He doesn't like what he sees. +Йому не подобається те, що він бачить. ### --feedback-- -Tom's reaction is positive, not negative. +Реакція Тома позитивна, а не негативна. --- -He is very excited and impressed. +Він схвильований та вражений. --- -He is feeling relaxed. +Він почувається розслабленим. ### --feedback-- -The phrase indicates excitement more than relaxation. +Фраза передає захоплення, а не розслаблення. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caddea3aba304c6172571.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caddea3aba304c6172571.md index e792475916b..bc4b79e64f8 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caddea3aba304c6172571.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caddea3aba304c6172571.md @@ -12,7 +12,7 @@ Tom: This is so cool. A standing Desk, an ergonomic chair and an ergonomic mouse # --description-- -`Ergonomic` refers to the design of products intended to provide optimum comfort and to avoid stress or injury. +`Ergonomic` стосується дизайну продуктів, мета якого — забезпечити оптимальний комфорт та допомогти уникнути стресу чи травм. # --fillInTheBlank-- @@ -26,7 +26,7 @@ Tom: This is so cool. A standing Desk, an ergonomic chair and an ergonomic mouse ### --feedback-- -Listen to the audio and try to locate a word that relates to comfort and design in the workplace, especially used to prevent strains or injuries. +Послухайте діалог та спробуйте виявити слово, яке стосується комфорту та дизайну на робочому місці, а особливо запобігання травм. --- @@ -34,7 +34,7 @@ Listen to the audio and try to locate a word that relates to comfort and design ### --feedback-- -Listen to the audio and try to locate a word that relates to comfort and design in the workplace, especially used to prevent strains or injuries. +Послухайте діалог та спробуйте виявити слово, яке стосується комфорту та дизайну на робочому місці, а особливо запобігання травм. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf2085b7ab04ff9a6b3f.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf2085b7ab04ff9a6b3f.md index 4e948fd991b..3fad4d19db8 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf2085b7ab04ff9a6b3f.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf2085b7ab04ff9a6b3f.md @@ -12,15 +12,15 @@ Tom: This is so cool. A Standing Desk, an ergonomic chair and an ergonomic mouse # --description-- -The articles `a` and `an` are both used to indicate a singular, non-specific noun. The choice between them depends on the sound that follows. If the next word begins with a consonant sound, we use `a`. If it starts with a vowel sound, we use `an`. Приміром: +Артиклі `a` та `an` використовують до іменника в однині. Вибір між ними залежить від наступного звуку. Якщо наступне слово починається з приголосного, то використовуємо `a`. Якщо воно починається з голосного, то використовуємо `an`. Наприклад: `Quincy is a teacher at freeCodeCamp.` -The word following the article is `teacher`. As it starts with the sound of a consonant, the article `a` is the appropriate choice. +Слово після артикля — `teacher`. Оскільки воно починається з приголосного, потрібно використати артикль `a`. `Jake is an information security analyst.` -The word following the article is `information`. As it starts with the sound of a vowel, the article `an` is the appropriate choice. +Слово після артикля — `information`. Оскільки воно починається з голосного, потрібно використати артикль `an`. # --fillInTheBlank-- @@ -34,7 +34,7 @@ The word following the article is `information`. As it starts with the sound of ### --feedback-- -`A` should be used if the word following it starts with a consonant sound. +Якщо наступне слово починається з приголосного, потрібно використати `a`. --- @@ -42,7 +42,7 @@ The word following the article is `information`. As it starts with the sound of ### --feedback-- -`an` should be used if the word following it starts with a vowel sound. +Якщо наступне слово починається з голосного, потрібно використати `an`. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf89ead43c0523378566.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf89ead43c0523378566.md index cc886d29df3..fddcfaeb997 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf89ead43c0523378566.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656caf89ead43c0523378566.md @@ -7,13 +7,13 @@ dashedName: task-85 # --description-- -In English, `a` and `an` are indefinite articles. `A` is used before words that begin with a consonant sound, and `an` is used before words that begin with a vowel sound. +В англійській мові є неозначені артиклі `a` та `an`. `A` використовують перед словами, які починаються на приголосний звук, а `an` використовують перед словами, які починаються на голосний звук. # --question-- ## --text-- -Which sentence uses the indefinite articles correctly? +В якому реченні правильно використано неозначені артиклі? ## --answers-- @@ -21,7 +21,7 @@ Which sentence uses the indefinite articles correctly? ### --feedback-- -Consider the sound that starts the noun after the article. `A` is used before consonant sounds and `an` before vowel sounds. +Зверніть увагу на звук, на який розпочинається іменник після артиклю. `A` використовується перед приголосними, а `an` — перед голосними звуками. --- @@ -29,7 +29,7 @@ Consider the sound that starts the noun after the article. `A` is used before co ### --feedback-- -Consider the sound that starts the noun after the article. `A` is used before consonant sounds and `an` before vowel sounds. +Зверніть увагу на звук, на який розпочинається іменник після артиклю. `A` використовується перед приголосними, а `an` — перед голосними звуками. --- @@ -41,7 +41,7 @@ Consider the sound that starts the noun after the article. `A` is used before co ### --feedback-- -Consider the sound that starts the noun after the article. `A` is used before consonant sounds and `an` before vowel sounds. +Зверніть увагу на звук, на який розпочинається іменник після артиклю. `A` використовується перед приголосними, а `an` — перед голосними звуками. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb0b3e4e30f0550131acd.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb0b3e4e30f0550131acd.md index df4a739816c..6b35b293f6a 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb0b3e4e30f0550131acd.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb0b3e4e30f0550131acd.md @@ -7,7 +7,7 @@ dashedName: task-86 # --description-- -Remember that articles show if we are talking about something specific or something general. +Пам’ятайте, що артиклі вказують, чи ми говоримо про щось конкретне, чи щось загальне. # --fillInTheBlank-- @@ -21,4 +21,4 @@ Remember that articles show if we are talking about something specific or someth ### --feedback-- -The word `project` starts with a consonant sounds. `A` should be used for before words that start with a consonant sound. +Слово `project` починається з приголосного звуку. Якщо слово починається з приголосного звуку, потрібно використати `a`. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb18802ef22057a58db13.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb18802ef22057a58db13.md index 9b4d7325378..663439854f2 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb18802ef22057a58db13.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb18802ef22057a58db13.md @@ -7,23 +7,23 @@ dashedName: task-87 # --description-- -In English, we use names to directly refer to specific people. See this example: +Імена в англійській мові використовують, щоб звернутись до конкретної людини. Гляньте на приклад: `Hello! You're Amy, correct?` -In English, names directly refer to specific people. Saying `Amy` identifies a particular person with that name. Using `the` or `an` before a name, like `the Amy` or `an Amy`, sounds unusual because names are already unique and specific. +Імена стосуються конкретної людини. `Amy` вказує на конкретну людину з цим іменем. Артиклі `the` чи `an` перед іменем (наприклад, `the Amy` або `an Amy`) звучать неприродно, оскільки імена самі по собі унікальні. -Think of names as unique labels for people. So, you don't need `a`, `an`, or `the` before a person's name. Just use the name by itself! +Вважайте імена унікальними мітками для людей. Таким чином, перед іменем не потрібно використовувати `a`, `an` або `the`. Використовуйте лише ім’я! # --instructions-- -How would you complete the following sentence. +Як ви б закінчили наступне речення? # --question-- ## --text-- -Which article would you use in place of the blank in this sentence: `You must be _ Sofia, the project manager.` +Який артикль ви б використали на місці прогалини в такому реченні: `You must be _ Sofia, the project manager.`? ## --answers-- @@ -31,7 +31,7 @@ Which article would you use in place of the blank in this sentence: `You must be ### --feedback-- -You don't need `an` before a person's name. +Перед іменем не потрібно артиклю `an`. --- @@ -39,7 +39,7 @@ You don't need `an` before a person's name. ### --feedback-- -You don't need `a` before a person's name. +Перед іменем не потрібно артиклю `a`. --- @@ -47,11 +47,11 @@ You don't need `a` before a person's name. ### --feedback-- -You don't need `the` before a person's name. +Перед іменем не потрібно артиклю `the`. --- -No article should be used. +Артикль не потрібний. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2526a741405b2b34870.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2526a741405b2b34870.md index aaee8baec2b..17447c28aa4 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2526a741405b2b34870.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2526a741405b2b34870.md @@ -12,7 +12,7 @@ Tom: This is so cool. A Standing Desk, an ergonomic chair and an ergonomic mouse # --description-- -`Everything` is a way to mention all the things in a particular group. When Tom says `everything is perfect`, he means all aspects of his new workplace are perfect. +`Everything` — один зі способів згадати все з певної групи. Коли Том каже `everything is perfect`, він має на увазі, що на новому робочому місці все чудово. # --fillInTheBlank-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2ee9d60f205d362b1de.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2ee9d60f205d362b1de.md index 7f1b9bede06..703e411d5a7 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2ee9d60f205d362b1de.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb2ee9d60f205d362b1de.md @@ -13,17 +13,17 @@ Tom: This is so cool. A Standing Desk, an ergonomic chair and an ergonomic mouse # --description-- -In workplaces, we often have items that help us do our job better. Both Tom and Sophie talk about items at their desks which make their work more comfortable. +На робочому місці часто присутні предмети, які допомагають виконувати роботу краще. Том і Софі говорять про предмети на їхніх столах, які роблять роботу більш комфортною. # --instructions-- -Listen to this part of Sophie and Tom's conversation and answer the question below. +Послухайте частину розмови Софі і Тома та дайте відповідь на запитання нижче. # --question-- ## --text-- -Which of these is NOT a workplace item mentioned by Sophie and Tom? +Який з цих предметів НЕ згадують Том та Софі? ## --answers-- @@ -31,7 +31,7 @@ Which of these is NOT a workplace item mentioned by Sophie and Tom? ### --feedback-- -Tom mentions this workplace Item. +Том згадує цей предмет. --- @@ -39,7 +39,7 @@ Tom mentions this workplace Item. ### --feedback-- -Tom mentions this workplace Item. +Том згадує цей предмет. --- @@ -47,7 +47,7 @@ Tom mentions this workplace Item. ### --feedback-- -Tom mentions this workplace Item. +Том згадує цей предмет. --- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3592aa0460609993b10.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3592aa0460609993b10.md index ebf94308d92..54451e91e03 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3592aa0460609993b10.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3592aa0460609993b10.md @@ -12,41 +12,41 @@ Sophie: So nice to have someone so energetic like you in the team. Are you ready # --description-- -The word `someone` is used to refer to an unspecified individual or person without specifying exactly who. +Слово `someone` використовують, щоб вказати будь-яку людину, не називаючи її конкретно. # --question-- ## --text-- -What does Sophie mean by `someone`? +Кого має на увазі Софі під `someone`? ## --answers-- -A specific person she knows. +Конкретну людину, яку вона знає. ### --feedback-- -She's talking about Tom but isn't naming him directly. +Вона говорить про Тома, але не називає його. --- -Any person, not specified. +Будь-яку людину. --- -A famous person. +Популярну людину. ### --feedback-- -The context doesn't suggest fame. +В контексті не згадується про популярність. --- -Herself. +Себе. ### --feedback-- -She's talking about Tom, not herself. +Вона говорить про Тома, а не про себе. ## --video-solution-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb39802398f062c461e2c.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb39802398f062c461e2c.md index c01f9df02a7..73b4cf5462b 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb39802398f062c461e2c.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb39802398f062c461e2c.md @@ -12,7 +12,7 @@ Sophie: So nice to have someone so energetic like you in the team. # --description-- -Being `energetic` means having a lot of energy, enthusiasm, and a readiness to act. +Бути `energetic` означає мати багато енергії, ентузіазму та бажання діяти. # --fillInTheBlank-- @@ -26,7 +26,7 @@ Being `energetic` means having a lot of energy, enthusiasm, and a readiness to a ### --feedback-- -The adjective here points out a positive trait. +Цей прикметник вказує на позитивну рису. # --scene-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3f8df42660676854d29.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3f8df42660676854d29.md index 84767672e2c..f7e0a249565 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3f8df42660676854d29.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cb3f8df42660676854d29.md @@ -12,13 +12,13 @@ Sophie: So nice to have someone so energetic like you in the team. Are you ready # --description-- -Asking if someone is `ready to begin` is a way to check if the person is prepared or eager to start a particular activity. +Запитувати, чи хтось `ready to begin` — один зі способів переконатись, що людина готова розпочати щось робити. # --question-- ## --text-- -What does Sophie ask Tom at the end? +Що Софі запитує Тома вкінці? ## --answers-- @@ -26,7 +26,7 @@ What does Sophie ask Tom at the end? ### --feedback-- -Послухайте ще раз. Sophie's question is about starting or commencing something, not about leaving, relaxing, or specifically working. +Послухайте ще раз. Запитання Софі стосується початку, а не закінчення, відпочинку чи роботи. --- @@ -34,7 +34,7 @@ What does Sophie ask Tom at the end? ### --feedback-- -Послухайте ще раз. Sophie's question is about starting or commencing something, not about leaving, relaxing, or specifically working. +Послухайте ще раз. Запитання Софі стосується початку, а не закінчення, відпочинку чи роботи. --- @@ -42,7 +42,7 @@ What does Sophie ask Tom at the end? ### --feedback-- -Послухайте ще раз. Sophie's question is about starting or commencing something, not about leaving, relaxing, or specifically working. +Послухайте ще раз. Запитання Софі стосується початку, а не закінчення, відпочинку чи роботи. --- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cbad538b114095fb14c0e.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cbad538b114095fb14c0e.md index abb8cecc510..a98e3298247 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cbad538b114095fb14c0e.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656cbad538b114095fb14c0e.md @@ -1,6 +1,6 @@ --- id: 656cbad538b114095fb14c0e -title: 'Dialogue 3: Tom and Sophie Take a Lunch Break' +title: 'Діалог 3: Обідня перерва Тома та Софі' challengeType: 21 dashedName: dialogue-3-tom-and-sophie-take-a-lunch-break --- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md index a2e3089449d..b39ef04573d 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d2600b0ffa811dac3853f.md @@ -7,7 +7,7 @@ dashedName: task-150 # --description-- @@ -18,7 +18,7 @@ In the dialogue, Jake mentions the department he belongs to. People often use te ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, _ _.` +`Hey. You're Sarah, right? I'm Jake, _ _.` ## --blanks-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md index 6432e0d8ea2..be67089cb76 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d27a603926f1288bafcc0.md @@ -7,7 +7,7 @@ dashedName: task-154 # --description-- @@ -18,7 +18,7 @@ Jake is explaining the purpose of his visit to Sarah. He's there to hand over so ## --sentence-- -`Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` +`Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` ## --blanks-- diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md index c3beab4f4bd..c242f4e67eb 100644 --- a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-greetings-in-your-first-day-at-the-office/656d283b7ba56912bb2ceb06.md @@ -7,7 +7,7 @@ dashedName: task-155 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md new file mode 100644 index 00000000000..b61451ff3b5 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606682f3fbb93838673920d.md @@ -0,0 +1,14 @@ +--- +id: 6606682f3fbb93838673920d +title: "Dialogue 1: Analyzing API Documentation" +challengeType: 21 +dashedName: dialogue-1-analyzing-api-documentation +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md new file mode 100644 index 00000000000..02558eb6b89 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66066c563917c5874b792337.md @@ -0,0 +1,39 @@ +--- +id: 66066c563917c5874b792337 +title: Task 1 +challengeType: 22 +dashedName: task-1 +--- + + + +# --description-- + +An `API` (Application Programming Interface) is a set of rules and tools for building software applications. It's like a bridge that allows different software programs to communicate with each other. For example, `The weather app uses an API to get data from the weather service.` + +An `approach` is a way of considering or doing something. Like, `Her approach to solving the problem was very creative.` + +# --fillInTheBlank-- + +## --sentence-- + +`I'm working with a new _, and I'm not sure how to analyze its documentation effectively. What's the right _, in your opinion?` + +## --blanks-- + +`API` + +### --feedback-- + +It means a set of rules and tools that allows different software to interact. + +--- + +`approach` + +### --feedback-- + +It's a method or way of doing something. Sophie is asking for the best way to analyze the API's documentation. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md new file mode 100644 index 00000000000..f1925c891af --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660681a717d84e89da14f6f4.md @@ -0,0 +1,53 @@ +--- +id: 660681a717d84e89da14f6f4 +title: Task 2 +challengeType: 19 +dashedName: task-2 +--- + + + +# --description-- + +Being `unsure` means not having certainty or confidence about something. + +# --question-- + +## --text-- + +What is Sophie unsure about, and what does she want to know from Brian? + +## --answers-- + +She is unsure about the purpose of the API. + +### --feedback-- + +It isn't about the API's purpose. + +--- + +She is unsure about coding in general. + +### --feedback-- + +Sophie's question is not about coding in general. + +--- + +She is unsure how to effectively analyze the API's documentation and is asking for the right approach. + +--- + +She wants to know how to install the API. + +### --feedback-- + +Sophie's concern is not about installing the API. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md new file mode 100644 index 00000000000..a61b4d0ff51 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660682b572c0bb8aa3075feb.md @@ -0,0 +1,49 @@ +--- +id: 660682b572c0bb8aa3075feb +title: Task 3 +challengeType: 22 +dashedName: task-3 +--- + + + +# --description-- + +An `endpoint` in an API is a specific location where you can request certain data or service. For example, `The API endpoint for weather data retrieves the latest forecasts.` + + To `offer` means to provide or make available. For instance, `This service offers real-time updates.` + +A `route` is a path defined in the API that determines how requests are handled. Like, `The login route verifies user credentials.` + +# --fillInTheBlank-- + +## --sentence-- + +`You should begin by checking the _ and _ provided in the documentation. This can give you a clear idea of what the API _.` + +## --blanks-- + +`endpoints` + +### --feedback-- + +They are specific locations in an API where requests for data or services are made. + +--- + +`routes` + +### --feedback-- + +They define the paths for handling requests in an API, determining how different requests are processed. + +--- + +`offers` + +### --feedback-- + +It refers to what the API provides or makes available, like data or functionalities. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md new file mode 100644 index 00000000000..dc557c86553 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606838ecf64478b53a51496.md @@ -0,0 +1,53 @@ +--- +id: 6606838ecf64478b53a51496 +title: Task 4 +challengeType: 19 +dashedName: task-4 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +According to Brian, what should Sophie do first to understand what the API offers? + +## --answers-- + +Begin by checking the endpoints and routes in the documentation + +--- + +Start by writing a summary of the entire documentation + +### --feedback-- + +While summarizing can be helpful, Brian specifically advises beginning with checking the endpoints and routes, not summarizing the documentation. + +--- + +Immediately implement the API in a project + +### --feedback-- + +Brian suggests beginning with understanding the API's offerings by checking endpoints and routes, not immediately implementing it. + +--- + +Focus on the API's security features first + +### --feedback-- + +Brian's initial recommendation is about understanding the API's functionalities. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md new file mode 100644 index 00000000000..d9be2e060cb --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660683e649f8fa8bbd5baac5.md @@ -0,0 +1,29 @@ +--- +id: 660683e649f8fa8bbd5baac5 +title: Task 5 +challengeType: 22 +dashedName: task-5 +--- + + + +# --description-- + +Practice time + +# --fillInTheBlank-- + +## --sentence-- + +`Okay, and what _ I do next?` + +## --blanks-- + +`should` + +### --feedback-- + +It is used here to ask for advice or a recommendation about the next step to take. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md new file mode 100644 index 00000000000..b98a751c030 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068414094b3a8c10a4770d.md @@ -0,0 +1,53 @@ +--- +id: 66068414094b3a8c10a4770d +title: Task 6 +challengeType: 22 +dashedName: task-6 +--- + + + +# --description-- + +Practice time! + +# --fillInTheBlank-- + +## --sentence-- + +`Once _ identified the endpoints, _ the descriptions and examples for each one. This can help you _ how to use the _ in your project.` + +## --blanks-- + +`you've` + +### --feedback-- + +It is short for `you have`. It's used here to mean once Sophie has identified the endpoints. + +--- + +`read` + +### --feedback-- + +It means to look at words and understand what they mean. + +--- + +`understand` + +### --feedback-- + +It means to grasp the meaning or significance of something. Brian wants Sophie to grasp how the API works. + +--- + +`API` + +### --feedback-- + +It stands for Application Programming Interface, a tool that allows software to interact. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md new file mode 100644 index 00000000000..47f3082df75 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606846eba453e8c7bacb2f7.md @@ -0,0 +1,53 @@ +--- +id: 6606846eba453e8c7bacb2f7 +title: Task 7 +challengeType: 19 +dashedName: task-7 +--- + + + +# --description-- + +Practice time. + +# --question-- + +## --text-- + +What is the order of actions Brian suggests Sophie should follow? + +## --answers-- + +First, use the API in a project, then read the descriptions and examples. + +### --feedback-- + +Brian's advice starts with identifying endpoints, not using the API in a project first. + +--- + +First, identify the endpoints, then read their descriptions and examples. + +--- + +Read the descriptions and examples first, then identify the endpoints. + +### --feedback-- + +Brian suggests identifying the endpoints first, before reading their descriptions and examples. + +--- + +Ignore the endpoints and focus only on the examples. + +### --feedback-- + +Brian emphasizes the importance of both identifying the endpoints and reading their descriptions and examples, not ignoring them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md new file mode 100644 index 00000000000..38842b24182 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660684bfc24bf48cfaaf9cfa.md @@ -0,0 +1,39 @@ +--- +id: 660684bfc24bf48cfaaf9cfa +title: Task 8 +challengeType: 22 +dashedName: task-8 +--- + + + +# --description-- + +`Give it a shot` means to try doing something. It's like saying `Try it`. + +For example, if your friend is hesitant about joining a coding class because they think it might be too difficult, you could say `Why not give it a shot? You might enjoy it more than you think.` to encourage them to try joining this class. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ give it a _.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is short for `I will`. Sophie is expressing her decision to try what Brian suggested. + +--- + +`shot` + +### --feedback-- + +In this context, it means an attempt or try at doing something. Sophie is saying she will try what Brian has recommended. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md new file mode 100644 index 00000000000..f4d649fdf54 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660686845b5e788def3527ca.md @@ -0,0 +1,93 @@ +--- +id: 660686845b5e788def3527ca +title: Task 9 +challengeType: 22 +dashedName: task-9 +--- + + + +# --description-- + +This task involves summarizing the conversation between Sophie and Brian about how to analyze a new API's documentation. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie is working with a new API and is unsure how to _ its documentation effectively. Brian suggests she should _ by checking the _ and _ in the documentation for a clear idea of what the API offers. He then advises that once she's _ the endpoints, she should _ the _ and _ for each. This helps in understanding the API's use in projects. Sophie thanks Brian and says she'll give it a _.` + +## --blanks-- + +`analyze` + +### --feedback-- + +It means to examine in detail. Sophie wants to understand how to look at the API documentation closely. + +--- + +`begin` + +### --feedback-- + +It means to start. Brian advises starting with the endpoints and routes. + +--- + +`endpoints` + +### --feedback-- + +They are specific locations where API requests are made. Brian mentions these as starting points. + +--- + +`routes` + +### --feedback-- + +They are paths defined in the API for handling requests. They are key parts of the documentation. + +--- + +`identified` + +### --feedback-- + +It means recognized or discovered. Sophie needs to recognize the endpoints first. + +--- + +`read` + +### --feedback-- + +It means to look at and comprehend text. Brian suggests reading the details for each endpoint. + +--- + +`descriptions` + +### --feedback-- + +They give details about something. Sophie should read the details about each endpoint. + +--- + +`examples` + +### --feedback-- + +They are specific instances showing how something works. They are important for understanding the API. + +--- + +`shot` + +### --feedback-- + +It means to try or attempt. Sophie decides to try out Brian's suggestions. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md new file mode 100644 index 00000000000..fdaa503fb24 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068a6d0bb2aa90f0d93979.md @@ -0,0 +1,14 @@ +--- +id: 66068a6d0bb2aa90f0d93979 +title: "Dialogue 2: Analyzing Code Documentation for Functions" +challengeType: 21 +dashedName: dialogue-2-analyzing-code-documentation-for-functions +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md new file mode 100644 index 00000000000..7118afbc053 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068ad667567091500128c5.md @@ -0,0 +1,48 @@ +--- +id: 66068ad667567091500128c5 +title: Task 10 +challengeType: 22 +dashedName: task-10 +--- + + + +# --description-- + +A `library` is like a big bookshelf with lots of code that programmers can use. Think of it like a cookbook with many recipes (functions) you can use to cook (program) different dishes (projects). + +For example, a `library` in programming might have a function to make charts. Instead of writing code from scratch, you can use this function, like following a recipe to make a cake. + + +# --fillInTheBlank-- + +## --sentence-- + +`This _ has so _ functions. How can I effectively analyze the documentation for _?` + +## --blanks-- + +`library` + +### --feedback-- + +This word in programming is like a collection of code, similar to how a library is a collection of books. + +--- + +`many` + +### --feedback-- + +It is used to describe a large number of something. In this case, it refers to the numerous functions in the library. + +--- + +`them` + +### --feedback-- + +It is a pronoun used to refer to multiple things. Here, it refers to the functions in the library. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md new file mode 100644 index 00000000000..e54ba7efeb1 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068b650b681c91de9e19a0.md @@ -0,0 +1,59 @@ +--- +id: 66068b650b681c91de9e19a0 +title: Task 11 +challengeType: 22 +dashedName: task-11 +--- + + + +# --description-- + +The possessive `'s` shows something belongs to someone or something, like in `Brian's book`, meaning the book belongs to Brian. + +`Dealing` means managing or handling something. For example, `When dealing with homework, it's important to be focused.` + +A `function's signature` in programming is like an ID card for a function. It tells you the function's name, what it needs (parameters), and what it gives back (`return type`). + +The `return type` of a function is what the function gives back after it runs, like a vending machine returning a soda after you put in money. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ with functions, start by looking at the _ signature. It can _ information about the function's name, parameters, and return _ .` + +## --blanks-- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something, like functions in programming. + +--- + +`function's` + +### --feedback-- + +It shows that the signature belongs to the function. Remember, `'s` is used to show possession. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. In this context, it refers to the signature giving information. + +--- + +`type` + +### --feedback-- + +It refers to the kind of value a function returns after it finishes running. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md new file mode 100644 index 00000000000..06b97752cbe --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068bf9c9046292705b856d.md @@ -0,0 +1,53 @@ +--- +id: 66068bf9c9046292705b856d +title: Task 12 +challengeType: 19 +dashedName: task-12 +--- + + + +# --description-- + +In this task, let's check your understanding of a function's signature in programming. + +# --question-- + +## --text-- + +What does the function's signature tell people about the function? + +## --answers-- + +How long the function will take to execute + +### --feedback-- + +The signature doesn't tell people about the time it takes to run the function. + +--- + +The color of the function's text in the code + +### --feedback-- + +The signature doesn't give information about the appearance of the function in the code. + +--- + +The function's name, parameters, and return type + +--- + +Who wrote the function + +### --feedback-- + +The signature shows the function's details, not the information about its author. + +## --video-solution-- + +3 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md new file mode 100644 index 00000000000..d0598c0aefa --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068c5cfc7a4992f2574ab2.md @@ -0,0 +1,39 @@ +--- +id: 66068c5cfc7a4992f2574ab2 +title: Task 13 +challengeType: 22 +dashedName: task-13 +--- + + + +# --description-- + +`Make sense` means to be understandable or logical. + +For example, if you're learning a new programming language and finally understand how a function works, you might say, `Oh, now it makes sense!` Here, `makes sense` is used to express that the concept of how a function works in the programming language is now clear and understandable. + +# --fillInTheBlank-- + +## --sentence-- + +`That makes _. What's the next step? What should I do _?` + +## --blanks-- + +`sense` + +### --feedback-- + +It means understanding or clarity, showing Sophie understands what was explained before. + +--- + +`then` + +### --feedback-- + +It is used to ask about what should happen next or afterwards. Sophie is asking about the next step after understanding the previous one. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md new file mode 100644 index 00000000000..d269b77a5a2 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068d4033a07d9393291ef0.md @@ -0,0 +1,53 @@ +--- +id: 66068d4033a07d9393291ef0 +title: Task 14 +challengeType: 22 +dashedName: task-14 +--- + + + +# --description-- + +`Usage examples` show how something is used. + +# --fillInTheBlank-- + +## --sentence-- + +`Next, you should _ the function's description in the documentation. It can _ what the function does and _ _ examples.` + +## --blanks-- + +`examine` + +### --feedback-- + +It means to look at something carefully. Brian suggests looking closely at the function's description. + +--- + +`explain` + +### --feedback-- + +It means to make something clear. + +--- + +`provide` + +### --feedback-- + +It means to give or supply. The documentation gives examples of how to use the function. + +--- + +`usage` + +### --feedback-- + +These examples show how to use something, like the function in this context. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md new file mode 100644 index 00000000000..a4b36656641 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068f5b2b7dda9450a7cc2c.md @@ -0,0 +1,53 @@ +--- +id: 66068f5b2b7dda9450a7cc2c +title: Task 15 +challengeType: 19 +dashedName: task-15 +--- + + + +# --description-- + +This task checks your understanding of Brian's advice on using programming documentation. + +# --question-- + +## --text-- + +What does Brian suggest doing to understand a function better? + +## --answers-- + +Examine the function's description in the documentation for explanations and usage examples + +--- + +Memorize the function's code + +### --feedback-- + +While memorizing code can be helpful, Brian specifically mentions examining the documentation, not memorizing the code. + +--- + +Change the function's code + +### --feedback-- + +Brian suggests understanding the function through its documentation, not altering its code. + +--- + +Ignore the documentation + +### --feedback-- + +Ignoring the documentation goes against Brian's advice, which is to examine it for a better understanding of the function. + +## --video-solution-- + +1 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md new file mode 100644 index 00000000000..4b0ce8e6c1e --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66068fc7aa2fe094c5cb84bd.md @@ -0,0 +1,45 @@ +--- +id: 66068fc7aa2fe094c5cb84bd +title: Task 16 +challengeType: 22 +dashedName: task-16 +--- + + + +# --description-- + +Practice time. + +# --fillInTheBlank-- + +## --sentence-- + +`Thanks. _ make sure to follow _ steps for _ function.` + +## --blanks-- + +`I'll` + +### --feedback-- + +It is a contraction of `I will`. Sophie is making a promise or plan to follow the steps. + +--- + +`these` + +### --feedback-- + +It refers to specific things, in this case, the steps mentioned earlier in the conversation. + +--- + +`each` + +### --feedback-- + +It is used for individual items. Sophie plans to follow the steps for every single function, one by one. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md new file mode 100644 index 00000000000..35caf222d7e --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606906b3f31fc953f1ee3b6.md @@ -0,0 +1,117 @@ +--- +id: 6606906b3f31fc953f1ee3b6 +title: Task 17 +challengeType: 22 +dashedName: task-17 +--- + + + +# --description-- + +In this task, you'll work with a summary of the conversation between Sophie and Brian. This summary includes key points about using a programming library. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie finds a _ with _ functions and wants to know how to _ its documentation. Brian advises her that when _ with functions, it's important to check the function's _. This _ what the function does, its parameters, and return _. Understanding this makes _, and then, the next step is to _ the documentation for more details, like _ examples. Sophie agrees and says she'll follow _ steps for _ function.` + +## --blanks-- + +`library` + +### --feedback-- + +It refers to a collection of pre-written code or functions in programming. + +--- + +`many` + +### --feedback-- + +This word indicates a large number of something, here referring to functions. + +--- + +`analyze` + +### --feedback-- + +It means to examine something carefully. + +--- + +`dealing` + +### --feedback-- + +It refers to how you manage or work with something. + +--- + +`signature` + +### --feedback-- + +It includes details of a function, like its name and parameters. + +--- + +`provides` + +### --feedback-- + +It means to give or supply, here referring to the information given by the signature. + +--- + +`type` + +### --feedback-- + +In this context, it refers to the kind of result or output a function gives. + +--- + +`sense` + +### --feedback-- + +It means something is clear or understandable. + +--- + +`examine` + +### --feedback-- + +This word means to look at something carefully. + +--- + +`usage` + +### --feedback-- + +These examples show how something can be used. + +--- + +`these` + +### --feedback-- + +It refers to specific things mentioned earlier, in this case, the steps for analyzing functions. + +--- + +`each` + +### --feedback-- + +It is used to refer to individual items or cases, here meaning every single function. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md new file mode 100644 index 00000000000..04f23c7eafe --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660694cf7803c598ce999171.md @@ -0,0 +1,14 @@ +--- +id: 660694cf7803c598ce999171 +title: "Dialogue 3: Analyzing Code Documentation for Classes and Objects" +challengeType: 21 +dashedName: dialogue-3-analyzing-code-documentation-for-classes-and-objects +--- + +# --description-- + +Watch the video below to understand the context of the upcoming lessons. + +# --assignment-- + +Watch the video diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md new file mode 100644 index 00000000000..ea74fe1ac27 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606952c28640e9941c8fa29.md @@ -0,0 +1,47 @@ +--- +id: 6606952c28640e9941c8fa29 +title: Task 18 +challengeType: 22 +dashedName: task-18 +--- + + + +# --description-- + +Usually, `with` is used to show connection or use. For example, `I write with a pen.` However, in some sentences, `with` comes at the end. This usually happens when you want to emphasize the object or thing someone is using or dealing with, especially in questions or statements about technology or work. + +For instance, in tech, you might say, `This program I work with is challenging.` Here, `with` is used at the end to emphasize the program that is challenging to work with. Another example could be a question like, `What else is he working with?` where `with` at the end asks about other tools or technologies being used. + +# --fillInTheBlank-- + +## --sentence-- + +`Ugh. This class I'm working _ is really _. The documentation _ confusing. What should I do?` + +## --blanks-- + +`with` + +### --feedback-- + +It emphasizes the object of use or concern, in this case, the class Sophie is working with. + +--- + +`complex` + +### --feedback-- + +It means something is complicated or has many parts. + +--- + +`looks` + +### --feedback-- + +It is used to describe the appearance or impression of something. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md new file mode 100644 index 00000000000..0da87beca81 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660695c672854899d6862834.md @@ -0,0 +1,53 @@ +--- +id: 660695c672854899d6862834 +title: Task 19 +challengeType: 19 +dashedName: task-19 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What is Sophie's problem in this dialogue? + +## --answers-- + +She is happy with the class and finds the documentation easy. + +### --feedback-- + +This option is incorrect because Sophie finds the class complex and the documentation confusing, not easy. + +--- + +She finds the class complex and the documentation confusing. + +--- + +She wants to quit the class. + +### --feedback-- + +Sophie expresses difficulty with the class but does not mention wanting to quit. + +--- + +She is looking for a new class. + +### --feedback-- + +Sophie talks about her current class being complex, not about searching for a new one. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md new file mode 100644 index 00000000000..880121fa041 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696292c16659a5e9ccf81.md @@ -0,0 +1,53 @@ +--- +id: 660696292c16659a5e9ccf81 +title: Task 20 +challengeType: 22 +dashedName: task-20 +--- + + + +# --description-- + +Remember, `Its` is a possessive pronoun used for things or animals, not people. It shows that something belongs to or is part of something else. + +# --fillInTheBlank-- + +## --sentence-- + +`When _ dealing with classes, begin by checking the _ name and properties. This will give you an idea of _ purpose and _ structure.` + +## --blanks-- + +`you're` + +### --feedback-- + +It is a contraction of `you are`, used here to describe an action you are doing. + +--- + +`class's` + +### --feedback-- + +It is a possessive form, showing that the name and properties belong to the class. + +--- + +`its` + +### --feedback-- + +The first `its` refers to something belonging to the class, in this case, the class's purpose. + +--- + +`its` + +### --feedback-- + +The second `its` again refers to something belonging to the class, here specifying the class's structure. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md new file mode 100644 index 00000000000..92122ff046f --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660696cce3e4e79af4612466.md @@ -0,0 +1,53 @@ +--- +id: 660696cce3e4e79af4612466 +title: Task 21 +challengeType: 19 +dashedName: task-21 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian suggest doing first when dealing with classes? + +## --answers-- + +Write new properties for the class + +### --feedback-- + +This option is incorrect. Brian's advice is to begin by understanding the class, not by writing new properties. + +--- + +Change the class's name + +### --feedback-- + +Brian does not suggest changing the name but rather checking the existing name and properties. + +--- + +Discuss the class with a colleague + +### --feedback-- + +While discussing with a colleague can be helpful, Brian specifically advises to start by checking the class's name and properties. + +--- + +Check the class's name and properties + +## --video-solution-- + +4 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md new file mode 100644 index 00000000000..6080eae806b --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/66069719acca7d9b59499ce9.md @@ -0,0 +1,53 @@ +--- +id: 66069719acca7d9b59499ce9 +title: Task 22 +challengeType: 22 +dashedName: task-22 +--- + + + +# --description-- + +`Achieve` means to successfully reach a goal or complete a task. In programming, it can refer to what you can accomplish with a class or method. Like saying, `With this code, I can achieve a fast calculation.` + +# --fillInTheBlank-- + +## --sentence-- + +`After that, you should read the _ and functions _ with the class. These can _ how to interact with the class and what you can _ using it.` + +## --blanks-- + +`methods` + +### --feedback-- + +It is a specific function or action that is part of a class in programming. + +--- + +`associated` + +### --feedback-- + +It refers to things that are connected or linked, like methods and functions that are part of a class. + +--- + +`explain` + +### --feedback-- + +This word means to describe or make clear. Here, it's about making clear how to use the class. + +--- + +`achieve` + +### --feedback-- + +It means to successfully complete or reach a goal. In this context, it refers to what you can do with the class. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md new file mode 100644 index 00000000000..76a20dddbc4 --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606977e8f0b509bdac39012.md @@ -0,0 +1,53 @@ +--- +id: 6606977e8f0b509bdac39012 +title: Task 23 +challengeType: 19 +dashedName: task-23 +--- + + + +# --description-- + +Practice time! + +# --question-- + +## --text-- + +What does Brian recommend doing next after checking the class's name and properties? + +## --answers-- + +Start writing new functions immediately + +### --feedback-- + +This option is incorrect. Brian suggests reading existing methods and functions first, not writing new ones immediately. + +--- + +Read the methods and functions associated with the class + +--- + +Change the methods of the class + +### --feedback-- + +Brian advises reading and understanding the methods, not changing them at this stage. + +--- + +Ignore the class's methods and functions + +### --feedback-- + +Ignoring the methods and functions goes against Brian's advice. He emphasizes the importance of reading them. + +## --video-solution-- + +2 diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md new file mode 100644 index 00000000000..a79a08f419d --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/660697f307c6559c60e976f7.md @@ -0,0 +1,41 @@ +--- +id: 660697f307c6559c60e976f7 +title: Task 24 +challengeType: 22 +dashedName: task-24 +--- + + + +# --description-- + +To `calm down` means to relax or become less worried. For example, `If you are stressed about a coding error, you might take a deep breath to calm down.` + +`Careful` is an adjective that describes being cautious or paying attention to details. Like saying, `Be careful with that function.` + +`Carefully` is an adverb, describing how an action is done. For instance, `Read the code carefully` means to read the code with attention and in a detailed way. + +# --fillInTheBlank-- + +## --sentence-- + +`I'll try to calm _ and read the documentation more _. Thanks for the tips.` + +## --blanks-- + +`down` + +### --feedback-- + +`Calm down` means to become less anxious or stressed. Sophie is trying to relax to focus better on her reading. + +--- + +`carefully` + +### --feedback-- + +This word is used to describe reading in a detailed and cautious way. Sophie wants to pay close attention to the documentation. diff --git a/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md new file mode 100644 index 00000000000..ab753e7750c --- /dev/null +++ b/curriculum/challenges/ukrainian/21-a2-english-for-developers/learn-how-to-analyze-code-documentation/6606989c34f0be9d141130b1.md @@ -0,0 +1,117 @@ +--- +id: 6606989c34f0be9d141130b1 +title: Task 25 +challengeType: 22 +dashedName: task-25 +--- + + + +# --description-- + +This task provides a summary of the conversation between Sophie and Brian. + +# --fillInTheBlank-- + +## --sentence-- + +`Sophie feels overwhelmed by a _ class and its _ documentation. Brian suggests _ with the class's _ and _, then reading the _ and _ _ with the class, understanding how to _ with the class and what to _ with it. Sophie decides to _ down and approach the documentation _.` + +## --blanks-- + +`complex` + +### --feedback-- + +It refers to the complicated nature of the class Sophie is working with. + +--- + +`confusing` + +### --feedback-- + +This word describes how Sophie views the class's documentation. + +--- + +`starting` + +### --feedback-- + +It indicates the beginning of the process Brian suggests. + +--- + +`name` + +### --feedback-- + +It helps identify the class's purpose. + +--- + +`properties` + +### --feedback-- + +They are characteristics or attributes of the class. + +--- + +`methods` + +### --feedback-- + +They are specific functions or procedures in the class. + +--- + +`functions` + +### --feedback-- + +It means the tasks or operations that the class can perform. + +--- + +`associated` + +### --feedback-- + +It means connected with the class. + +--- + +`interact` + +### --feedback-- + +It refers to how one can use or work with the class. + +--- + +`achieve` + +### --feedback-- + +It involves accomplishing something using the class. + +--- + +`calm` + +### --feedback-- + +Part of Sophie's decision to relax and reduce stress. + +--- + +`carefully` + +### --feedback-- + +It means to do something with attention to detail. diff --git a/curriculum/dictionaries/arabic/comments.json b/curriculum/dictionaries/arabic/comments.json index 0aff9a98ac5..e888013dc3b 100644 --- a/curriculum/dictionaries/arabic/comments.json +++ b/curriculum/dictionaries/arabic/comments.json @@ -108,6 +108,5 @@ "es69h6": "When you join two windows into one window", "fho5t5": "When you open a new tab at the end", "00kcrm": "yields true", - "sxpg2a": "Your mailbox, drive, and other work sites", - "4143lf": "initialize buttons" + "sxpg2a": "Your mailbox, drive, and other work sites" } diff --git a/curriculum/dictionaries/chinese-traditional/comments.json b/curriculum/dictionaries/chinese-traditional/comments.json index 550d16bb876..b9a3bfa1068 100644 --- a/curriculum/dictionaries/chinese-traditional/comments.json +++ b/curriculum/dictionaries/chinese-traditional/comments.json @@ -108,6 +108,5 @@ "es69h6": "當你將兩個窗口合併爲一個窗口時", "fho5t5": "當你在最後打開一個選項卡時", "00kcrm": "輸出 true", - "sxpg2a": "你的郵箱、Google Drive 和其他工作地點", - "4143lf": "初始化按鈕" + "sxpg2a": "你的郵箱、Google Drive 和其他工作地點" } diff --git a/curriculum/dictionaries/chinese/comments.json b/curriculum/dictionaries/chinese/comments.json index 0f2698bf088..85ceb33b649 100644 --- a/curriculum/dictionaries/chinese/comments.json +++ b/curriculum/dictionaries/chinese/comments.json @@ -108,6 +108,5 @@ "es69h6": "当你将两个窗口合并为一个窗口时", "fho5t5": "当你在最后打开一个选项卡时", "00kcrm": "输出 true", - "sxpg2a": "你的邮箱、Google Drive 和其他工作地点", - "4143lf": "初始化按钮" + "sxpg2a": "你的邮箱、Google Drive 和其他工作地点" } diff --git a/curriculum/dictionaries/espanol/comments.json b/curriculum/dictionaries/espanol/comments.json index 32080ab7045..2ca5ac88f94 100644 --- a/curriculum/dictionaries/espanol/comments.json +++ b/curriculum/dictionaries/espanol/comments.json @@ -108,6 +108,5 @@ "es69h6": "Cuando unes dos ventanas en una", "fho5t5": "Cuando abres una nueva pestaña al final", "00kcrm": "produce true", - "sxpg2a": "Tu casilla de correo, drive y otros sitios de trabajo", - "4143lf": "inicializar botones" + "sxpg2a": "Tu casilla de correo, drive y otros sitios de trabajo" } diff --git a/curriculum/dictionaries/german/comments.json b/curriculum/dictionaries/german/comments.json index 26190fb320a..f67594b9bf6 100644 --- a/curriculum/dictionaries/german/comments.json +++ b/curriculum/dictionaries/german/comments.json @@ -108,6 +108,5 @@ "es69h6": "Wenn du zwei Fenster zu einem Fenster verbindest", "fho5t5": "Wenn du am Ende eine neue Registerkarte öffnest", "00kcrm": "ergibt true", - "sxpg2a": "Dein Posteingang, dein Laufwerk und andere Arbeitsorte", - "4143lf": "initialisiere Buttons" + "sxpg2a": "Dein Posteingang, dein Laufwerk und andere Arbeitsorte" } diff --git a/curriculum/dictionaries/italian/comments.json b/curriculum/dictionaries/italian/comments.json index 1aba4c631cf..2dab07a6ee1 100644 --- a/curriculum/dictionaries/italian/comments.json +++ b/curriculum/dictionaries/italian/comments.json @@ -108,6 +108,5 @@ "es69h6": "Quando unisci due finestre in una finestra", "fho5t5": "Quando apri una nuova scheda alla fine", "00kcrm": "restituisce true", - "sxpg2a": "La tua mailbox, drive e altri siti di lavoro", - "4143lf": "inizializza i pulsanti" + "sxpg2a": "La tua mailbox, drive e altri siti di lavoro" } diff --git a/curriculum/dictionaries/japanese/comments.json b/curriculum/dictionaries/japanese/comments.json index 37915427518..8c11f6ede00 100644 --- a/curriculum/dictionaries/japanese/comments.json +++ b/curriculum/dictionaries/japanese/comments.json @@ -108,6 +108,5 @@ "es69h6": "2 つのウィンドウを 1 つのウィンドウに結合するとき", "fho5t5": "最後に新しいタブを開くとき", "00kcrm": "true を生成", - "sxpg2a": "メールボックス、ドライブ、その他の仕事用サイト", - "4143lf": "ボタンを初期化" + "sxpg2a": "メールボックス、ドライブ、その他の仕事用サイト" } diff --git a/curriculum/dictionaries/korean/comments.json b/curriculum/dictionaries/korean/comments.json index 7ec45882abb..9c01add8d49 100644 --- a/curriculum/dictionaries/korean/comments.json +++ b/curriculum/dictionaries/korean/comments.json @@ -108,6 +108,5 @@ "es69h6": "When you join two windows into one window", "fho5t5": "When you open a new tab at the end", "00kcrm": "yields true", - "sxpg2a": "당신의 사서함, 드라이브 및 기타 작업 사이트", - "4143lf": "initialize buttons" + "sxpg2a": "당신의 사서함, 드라이브 및 기타 작업 사이트" } diff --git a/curriculum/dictionaries/portuguese/comments.json b/curriculum/dictionaries/portuguese/comments.json index 53f54a76cfa..e9102377219 100644 --- a/curriculum/dictionaries/portuguese/comments.json +++ b/curriculum/dictionaries/portuguese/comments.json @@ -108,6 +108,5 @@ "es69h6": "Quando você junta duas janelas em apenas uma", "fho5t5": "Quando você abre uma nova aba no final", "00kcrm": "retorna verdadeiro", - "sxpg2a": "Sua caixa de correio, unidade e outros locais de trabalho", - "4143lf": "inicializar botões" + "sxpg2a": "Sua caixa de correio, unidade e outros locais de trabalho" } diff --git a/curriculum/dictionaries/swahili/comments.json b/curriculum/dictionaries/swahili/comments.json index 0aff9a98ac5..e888013dc3b 100644 --- a/curriculum/dictionaries/swahili/comments.json +++ b/curriculum/dictionaries/swahili/comments.json @@ -108,6 +108,5 @@ "es69h6": "When you join two windows into one window", "fho5t5": "When you open a new tab at the end", "00kcrm": "yields true", - "sxpg2a": "Your mailbox, drive, and other work sites", - "4143lf": "initialize buttons" + "sxpg2a": "Your mailbox, drive, and other work sites" } diff --git a/curriculum/dictionaries/ukrainian/comments.json b/curriculum/dictionaries/ukrainian/comments.json index 975fe055515..6aeb2952b49 100644 --- a/curriculum/dictionaries/ukrainian/comments.json +++ b/curriculum/dictionaries/ukrainian/comments.json @@ -108,6 +108,5 @@ "es69h6": "Коли ви об'єднуєте два вікна в одне", "fho5t5": "Коли ви відкриєте нову вкладку в кінці", "00kcrm": "показує правильно", - "sxpg2a": "Ваша поштова скринька, диск та інші робочі сторінки", - "4143lf": "кнопки ініціалізації" + "sxpg2a": "Ваша поштова скринька, диск та інші робочі сторінки" }