You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/questions/index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ const questions = [
46
46
id: 6,
47
47
question: "Can you add ::before or ::after to an <img> element?",
48
48
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.",
50
50
position: 6,
51
51
tags: ["pseudo elements","replaced elements"]
52
52
},
@@ -842,7 +842,7 @@ const questions = [
842
842
{
843
843
id: 104,
844
844
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?",
846
846
answer: ":first-child:last-child or :nth-child(1):nth-last-child(1)",
0 commit comments