Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


problem with nested quotes #316

merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 18, 2013
  1. @yukulele

    problem with nested quotes

    yukulele authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 page/javascript-101/
6 page/javascript-101/
@@ -31,8 +31,8 @@ The last option is to use the event handler attributes of HTML elements. This me
<!-- Inline code directly on HTML elements being clicked. -->
-<a href="javascript:alert(&#34;Hello World!&#34;);">Click Me!</a>
-<button onClick="alert(&#34;Good Bye World&#34;);">Click Me Too!</a>
+<a href="javascript:alert('Hello World');">Click Me!</a>
+<button onClick="alert('Good Bye World');">Click Me Too!</a>
### Placement
@@ -72,4 +72,4 @@ It is a common pattern to move scripts to the bottom of the page, prior to the c
Something went wrong with that request. Please try again.