|
53 | 53 | "script-src": \[ "'self'" , |
54 | 54 | (["'`])https://example\.com\1 \] , |
55 | 55 | "style-src": \[ "'self'" \] |
56 | | - \} , |
| 56 | + \} ,? |
57 | 57 | \} |
58 | 58 | \} \) \) ; |
59 | 59 | --> |
|
129 | 129 | text: JavaScript doesn''t require semicolon terminators, but the rest of |
130 | 130 | the code uses them. You should try to match a coding style when modifying |
131 | 131 | existing code unless there''s an important reason not to. |
132 | | - Please update the second statment. |
| 132 | + Please update the second statement to use a semicolon terminator. |
| 133 | +- absent: |- |
| 134 | + \} \} \) \) ; $ |
| 135 | + index: 1 |
| 136 | + text: The correct answer is expected to end with `} } ) ) ;` ignoring |
| 137 | + whitespace. Check that you have matching parentheses and braces. |
133 | 138 | - text: I do not have more specific hints to provide. Please ensure that |
134 | | - the parentheses, braces, and brackets pair correctly. |
| 139 | + the parentheses, braces, and brackets pair correctly, as that is |
| 140 | + often the problem. |
135 | 141 | # debug: true |
136 | 142 | </script> |
137 | 143 |
|
@@ -315,7 +321,7 @@ <h2>Task Information</h2> |
315 | 321 | styles can <i>only</i> come from this site (and nowhere else). |
316 | 322 | Again, we didn't include |
317 | 323 | "unsafe-inline", that means that CSS embedded in the HTML will be ignored. |
318 | | -Again, this is good for security, because it means that even if an attacker |
| 324 | +This is good for security, because it means that even if an attacker |
319 | 325 | tricks a server into embedding some CSS commands, those commands will |
320 | 326 | be ignored. |
321 | 327 |
|
|
0 commit comments