Skip to content

Commit 3164f75

Browse files
authored
fix(curriculum): replace p tag with h3 tag (freeCodeCamp#55738)
1 parent c0468db commit 3164f75

35 files changed

+69
-69
lines changed

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145ed1f22caab087630aaad.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ dashedName: step-34
77

88
# --description--
99

10-
To prevent unnecessary repetition, target the `before` pseudo-element of the `p` element, and give it a `content` property of `"Question #"`.
10+
To prevent unnecessary repetition, target the `before` pseudo-element of the `h3` element, and give it a `content` property of `"Question #"`.
1111

1212
# --hints--
1313

14-
You should use the `p::before` selector.
14+
You should use the `h3::before` selector.
1515

1616
```js
17-
assert.exists(new __helpers.CSSHelp(document).getStyle('p::before'));
17+
assert.exists(new __helpers.CSSHelp(document).getStyle('h3::before'));
1818
```
1919

20-
You should give the `p::before` pseudo-element a `content` property of `"Question #"`.
20+
You should give the `h3::before` pseudo-element a `content` property of `"Question #"`.
2121

2222
```js
23-
assert.include(new __helpers.CSSHelp(document).getStyle('p::before')?.content, 'Question #');
23+
assert.include(new __helpers.CSSHelp(document).getStyle('h3::before')?.content, 'Question #');
2424
```
2525
2626
# --seed--

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145ee65e2e1530938cb594d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ h2 {
213213
border-bottom: 4px solid #dfdfe2;
214214
}
215215
216-
p::before {
216+
h3::before {
217217
content: "Question #";
218218
}
219219

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f02240ff8f09f7ec913c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ h2 {
196196
border-bottom: 4px solid #dfdfe2;
197197
}
198198
199-
p::before {
199+
h3::before {
200200
content: "Question #";
201201
}
202202

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f14f019a4b0adb94b051.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ h2 {
231231
border-bottom: 4px solid #dfdfe2;
232232
}
233233
234-
p::before {
234+
h3::before {
235235
content: "Question #";
236236
}
237237

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f3a5cd9be60b9459cdd6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ h2 {
203203
border-bottom: 4px solid #dfdfe2;
204204
}
205205
206-
p::before {
206+
h3::before {
207207
content: "Question #";
208208
}
209209

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f47393fbe70c4d885f9c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ h2 {
210210
border-bottom: 4px solid #dfdfe2;
211211
}
212212
213-
p::before {
213+
h3::before {
214214
content: "Question #";
215215
}
216216

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f59029474c0d3dc1c8b8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ h2 {
217217
border-bottom: 4px solid #dfdfe2;
218218
}
219219
220-
p::before {
220+
h3::before {
221221
content: "Question #";
222222
}
223223

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f685797bd30df9784e8c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ h2 {
211211
border-bottom: 4px solid #dfdfe2;
212212
}
213213
214-
p::before {
214+
h3::before {
215215
content: "Question #";
216216
}
217217

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f829ac6a920ebf5797d7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ h2 {
196196
border-bottom: 4px solid #dfdfe2;
197197
}
198198

199-
p::before {
199+
h3::before {
200200
content: "Question #";
201201
}
202202

curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/6145f8f8bcd4370f6509078e.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ h2 {
201201
border-bottom: 4px solid #dfdfe2;
202202
}
203203
204-
p::before {
204+
h3::before {
205205
content: "Question #";
206206
}
207207

0 commit comments

Comments
 (0)