Skip to content

Commit accc720

Browse files
committed
Reword question 6
1 parent 6c4df03 commit accc720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/questions/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const questions = [
4646
id: 6,
4747
question: "Can you add ::before or ::after to an <img> element?",
4848
answer:
49-
"No, both of these pseudo elements are contained by the element's formatting box and thus a replaced element like <img> will not have ::before and ::after",
49+
"<img>s are replaced elements and the CSS Spec does not require or define how psuedo-elements work for replaced elements. Support is left up to browser implementations.",
5050
position: 6,
5151
tags: ["pseudo elements", "replaced elements"]
5252
},
@@ -842,7 +842,7 @@ const questions = [
842842
{
843843
id: 104,
844844
question:
845-
"What is one other way of selecting the only child besides :only-child?",
845+
"What is one other way of selecting an element with no siblings besides :only-child?",
846846
answer: ":first-child:last-child or :nth-child(1):nth-last-child(1)",
847847
position: 104,
848848
tags: ["pseudo class"]

0 commit comments

Comments
 (0)