Permalink
Browse files

Merge pull request #316 from yukulele/patch-1

problem with nested quotes
  • Loading branch information...
2 parents a2336ae + e73ed11 commit a580ce8ddf46c67888f2cd933b275a9292645c6f @rmurphey rmurphey committed Mar 18, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 page/javascript-101/running-code.md
@@ -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
</script>
</body>
</html>
-```
+```

0 comments on commit a580ce8

Please sign in to comment.