Skip to content

Commit 0f69170

Browse files
fix(curriculum): better wording (freeCodeCamp#60040)
1 parent 678dc43 commit 0f69170

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

curriculum/challenges/english/25-front-end-development/lab-blog-post-card/66eaddd04a9e533fba689001.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ In this lab, you'll practice how to style backgrounds and borders by creating a
1515
**User Stories:**
1616

1717
1. You should have a `div` element with a class of `blog-post-card` to hold all of your card elements.
18-
2. Within the `.blog-post-card` `div` element, you should have an image element with a valid `alt` attribute and text, and a class of `post-img`. You can use `https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg` for the `src` attribute of the image.
19-
3. You should have a `div` with a class of `post-content` within the `.blog-post-card` `div` element with the following:
18+
2. Within the `.blog-post-card` element, you should have an image element with a valid `alt` attribute and text, and a class of `post-img`. You can use `https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg` for the `src` attribute of the image.
19+
3. You should have a `div` with a class of `post-content` within the `.blog-post-card` element with the following:
2020
- An `h2` element with a class of `post-title` and text for the title of your blog post.
2121
- A `p` element with a class of `post-excerpt` and text to summarize your blog post.
2222
- An `a` element with a class of `read-more` with the text `Read More`.

curriculum/challenges/english/25-front-end-development/lab-fcc-forum-leaderboard/673c91f0b934834bc4a3ecc2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ showLatestPosts(data);
536536
assert.lengthOf(pContainer.querySelectorAll('tr'), 2);
537537
```
538538

539-
Each `tr` element from the string returned by `showLatestPosts` should contain `5` `td` elements.
539+
Each `tr` element from the string returned by `showLatestPosts` should contain 5 `td` elements.
540540

541541
```js
542542
const data = {

curriculum/challenges/english/25-front-end-development/lab-house-painting/66d6a7a3e1aa411e94bf2346.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
1414

1515
**User Stories:**
1616

17-
1. You should have a `#house` `div`.
17+
1. You should have a `div` with an `id` of `house`.
1818
1. Your `#house` should have a `position` set to `relative` so its children can be positioned with respect to it.
1919
1. Your `#house` should have a width of `500px` and a height of `400px`.
2020
1. Your `#house` should have a background color and a border set.
21-
1. You should have a `#chimney`, `#roof`, `#window-1`, `#window-2`, and `#door` `div`s within the `#house`.
21+
1. You should have five `div` elements inside `#house` with the following `id` values: `chimney`, `roof`, `window-1`, `window-2`, and `door`.
2222
1. All of the immediate children of the `#house` should have a `position` of `absolute`.
2323
1. `#roof`, `#chimney`, `#window-1`, `#window-2`, and `#door` should have a width, height, border, and background color set.
2424
1. Your `#roof` should have a top value of `0`.
@@ -32,7 +32,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
3232

3333
# --hints--
3434

35-
You should have a `#house` `div`.
35+
You should have a `div` with an `id` of `house`.
3636

3737
```js
3838
assert.exists(document.querySelector("div#house"));
@@ -68,7 +68,7 @@ You should target `#house` and set its height to `400px`.
6868
assert.equal(new __helpers.CSSHelp(document).getStyle('#house')?.getPropertyValue("height"), "400px")
6969
```
7070
71-
You should have a `#chimney` `div` within the `#house`.
71+
You should have a `div` with an `id` of `chimney` within the `#house`.
7272
7373
```js
7474
assert.exists(document.querySelector("div#house div#chimney"));
@@ -104,7 +104,7 @@ You should target `#chimney` and set its `background-color` property.
104104
assert.isNotEmpty(new __helpers.CSSHelp(document).getStyle("#chimney")?.getPropertyValue("background-color"));
105105
```
106106
107-
You should have a `#roof` `div` within the `#house`.
107+
You should have a `div` with an `id` of `roof` within the `#house`.
108108
109109
```js
110110
assert.exists(document.querySelector("div#house div#roof"));
@@ -140,7 +140,7 @@ You should target `#roof` and set its `background-color` property.
140140
assert.isNotEmpty(new __helpers.CSSHelp(document).getStyle("#roof")?.getPropertyValue("background-color"));
141141
```
142142
143-
You should have a `#window-1` `div` within the `#house`.
143+
You should have a `div` with an `id` of `window-1` within the `#house`.
144144
145145
```js
146146
assert.exists(document.querySelector("div#house div#window-1"));
@@ -184,7 +184,7 @@ const windows = new __helpers.CSSHelp(document).getStyle("#window-1, #window-2")
184184
assert.isNotEmpty(window1 || windows);
185185
```
186186
187-
You should have a `#window-2` `div` within the `#house`.
187+
You should have a `div` with an `id` of `window-2` within the `#house`.
188188
189189
```js
190190
assert.exists(document.querySelector("div#house div#window-2"));
@@ -228,7 +228,7 @@ const windows = new __helpers.CSSHelp(document).getStyle("#window-1, #window-2")
228228
assert.isNotEmpty(window2 || windows);
229229
```
230230
231-
You should have a `#door` `div` within the `#house`.
231+
You should have a `div` with an `id` of `door` within the `#house`.
232232
233233
```js
234234
assert.exists(document.querySelector("div#house div#door"));

0 commit comments

Comments
 (0)