Skip to content

Commit

Permalink
Minor tweak of lab csp1
Browse files Browse the repository at this point in the history
Signed-off-by: David A. Wheeler <[email protected]>
  • Loading branch information
david-a-wheeler committed Oct 11, 2024
1 parent b6c2e74 commit 718e849
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/labs/csp1.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"script-src": \[ "'self'" ,
(["'`])https://example\.com\1 \] ,
"style-src": \[ "'self'" \]
\} ,
\} ,?
\}
\} \) \) ;
-->
Expand Down Expand Up @@ -129,9 +129,15 @@
text: JavaScript doesn''t require semicolon terminators, but the rest of
the code uses them. You should try to match a coding style when modifying
existing code unless there''s an important reason not to.
Please update the second statment.
Please update the second statement to use a semicolon terminator.
- absent: |-
\} \} \) \) ; $
index: 1
text: The correct answer is expected to end with `} } ) ) ;` ignoring
whitespace. Check that you have matching parentheses and braces.
- text: I do not have more specific hints to provide. Please ensure that
the parentheses, braces, and brackets pair correctly.
the parentheses, braces, and brackets pair correctly, as that is
often the problem.
# debug: true
</script>

Expand Down

0 comments on commit 718e849

Please sign in to comment.