Skip to content

Commit c7a9bf3

Browse files
authored
fix(curriculum): update description for random background color changer lab (freeCodeCamp#55911)
1 parent 197bf8c commit c7a9bf3

File tree

4 files changed

+14
-12
lines changed
  • client
    • i18n/locales/english
    • src/pages/learn/front-end-development/lab-random-background-color-changer
  • curriculum/challenges

4 files changed

+14
-12
lines changed

client/i18n/locales/english/intro.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,9 +1956,9 @@
19561956
"ksfc": { "title": "204", "intro": [] },
19571957
"xeqa": { "title": "205", "intro": [] },
19581958
"lab-random-background-color-changer": {
1959-
"title": "Build a Random Background Color Changer",
1959+
"title": "Debug a Random Background Color Changer",
19601960
"intro": [
1961-
"For this lab, you will create a random background color changer."
1961+
"For this lab, you will debug a random background color changer and fix the errors to make it work properly."
19621962
]
19631963
},
19641964
"dqth": { "title": "207", "intro": [] },
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Introduction to the Build a Random Background Color Changer
2+
title: Introduction to the Debug a Random Background Color Changer
33
block: lab-random-background-color-changer
44
superBlock: front-end-development
55
---
66

7-
## Introduction to the Build a Random Background Color Changer
7+
## Introduction to the Debug a Random Background Color Changer
88

9-
For this lab, you will create a random background color changer.
9+
For this lab, you will debug a random background color changer and fix the errors to make it work properly.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "Build a Random Background Color Changer",
2+
"name": "Debug a Random Background Color Changer",
33
"blockType": "lab",
44
"isUpcomingChange": true,
55
"usesMultifileEditor": true,
66
"dashedName": "lab-random-background-color-changer",
77
"order": 206,
88
"superBlock": "front-end-development",
9-
"challengeOrder": [{ "id": "66b62d0ad68488dd76228d6c", "title": "Build a Random Background Color Changer" }],
9+
"challengeOrder": [{ "id": "66b62d0ad68488dd76228d6c", "title": "Debug a Random Background Color Changer" }],
1010
"helpCategory": "JavaScript"
1111
}

curriculum/challenges/english/25-front-end-development/lab-random-background-color-changer/66b62d0ad68488dd76228d6c.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
id: 66b62d0ad68488dd76228d6c
3-
title: Build a Random Background Color Changer
3+
title: Debug a Random Background Color Changer
44
challengeType: 14
5-
dashedName: build-a-random-background-color-changer
5+
dashedName: debug-a-random-background-color-changer
66
---
77

88
# --description--
99

10-
**Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab.
10+
Camperbot is learning JavaScript and has tried to build their own Random Background Color Changer. However, they have made a few mistakes along the way.
11+
12+
**Objective:** Fulfill the user stories below and get all the tests to pass so the lab is functioning properly.
1113

1214
**User Stories:**
1315

@@ -82,7 +84,7 @@ assert.match(code, /btn\.addEventListener\s*\(\s*("|')click\1\s*,\s*changeBackgr
8284
<head>
8385
<meta charset="UTF-8" />
8486
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85-
<title>Build a random background color changer</title>
87+
<title>Debug a random background color changer</title>
8688
<link rel="stylesheet" href="./styles.css" />
8789
</head>
8890

@@ -190,7 +192,7 @@ const darkColorsArr = [
190192
<head>
191193
<meta charset="UTF-8" />
192194
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
193-
<title>Build a random background color changer</title>
195+
<title>Debug a random background color changer</title>
194196
<link rel="stylesheet" href="./styles.css" />
195197
</head>
196198

0 commit comments

Comments
 (0)