We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be32bca commit 9a4d226Copy full SHA for 9a4d226
page/javascript-101/running-code.md
@@ -32,8 +32,8 @@ The second option is to inline the code directly on the web page. This is also a
32
33
The last and strongly discouraged option, is to utilize the event handler attributes of HTML attributes.
34
35
-``` js
36
-Inline code directly on HTML elements being clicked.
+``` html
+<!--Inline code directly on HTML elements being clicked.-->
37
<a href="javascript:alert('Hello World!');">Click Me!</a>
38
<button onClick="alert('Good Bye World');">Click Me Too!</a>
39
```
0 commit comments