From 360c926aba75f9ff05d43e4a867228e79ac117c8 Mon Sep 17 00:00:00 2001 From: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:44:33 +0100 Subject: [PATCH] fix(curriculum): clarify step descriptions in employee profile generator workshop (#66427) --- .../694bf6eb530e19a9c48c59f2.md | 2 +- .../694bf6eb530e19a9c48c59f5.md | 1 - .../694bf6eb530e19a9c48c59f6.md | 1 - .../694bf6eb530e19a9c48c59f7.md | 3 +-- .../695fd3dde03273875e5d6709.md | 4 ++-- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f2.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f2.md index 5681514506e..94ea4edac33 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f2.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f2.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -Now complete the sentence by concatenating the string ` years old` to the end of `employee_info`. Remember to include a space at the beginning of your string. +Now complete the sentence by updating the `employee_info` assignment to also concatenate the string ` years old` at the end. Remember to include a space at the beginning of your string. Finally, print `employee_info`. diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f5.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f5.md index b4cf2fe580f..e0bb5da2de3 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f5.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f5.md @@ -65,7 +65,6 @@ address += ', Apartment 4B' employee_age = 28 employee_info = full_name + ' is ' + str(employee_age) + ' years old' print(employee_info) -years_experience = 5 experience_years = 5 experience_info = 'Experience: ' + str(experience_years) + ' years' print(experience_info) diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f6.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f6.md index a6a9b96940b..eab50532587 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f6.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f6.md @@ -66,7 +66,6 @@ address += ', Apartment 4B' employee_age = 28 employee_info = full_name + ' is ' + str(employee_age) + ' years old' print(employee_info) -years_experience = 5 experience_years = 5 experience_info = 'Experience: ' + str(experience_years) + ' years' print(experience_info) diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f7.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f7.md index 0931526e5f9..8d3ad80aa56 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f7.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/694bf6eb530e19a9c48c59f7.md @@ -48,7 +48,6 @@ address += ', Apartment 4B' employee_age = 28 employee_info = full_name + ' is ' + str(employee_age) + ' years old' print(employee_info) -years_experience = 5 experience_years = 5 experience_info = 'Experience: ' + str(experience_years) + ' years' print(experience_info) @@ -86,7 +85,7 @@ position = 'Data Analyst' salary = 75000 employee_card = f'Employee: {full_name} | Age: {employee_age} | Position: {position} | Salary: ${salary}' print(employee_card) -employee_code = 'DEV-2024-JD-001' +employee_code = 'DEV-2026-JD-001' department = employee_code[0:3] print(department) year_code = employee_code[4:8] diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/695fd3dde03273875e5d6709.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/695fd3dde03273875e5d6709.md index a1bf5002152..3aeee1e7c7a 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/695fd3dde03273875e5d6709.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/695fd3dde03273875e5d6709.md @@ -7,13 +7,13 @@ dashedName: step-9 # --description-- -Now try to concatenate `employee_age` to the end of your `employee_info` string. +Update the `employee_info` assignment to also concatenate `employee_age` at the end. Once you've done so, you'll see a `TypeError` in the terminal. In the next step, you'll work on fixing it. # --hints-- -You should concatenate `employee_age` to the end of `employee_info`. +You should update the `employee_info` assignment to concatenate `employee_age` at the end. ```js const regex = /^employee_info\s*=\s*full_name\s*\+\s*(["']) is \1\s*\+\s*employee_age\s*$/m;