Skip to content

Commit 9a4d226

Browse files
committed
typo in running code
1 parent be32bca commit 9a4d226

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page/javascript-101/running-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ The second option is to inline the code directly on the web page. This is also a
3232

3333
The last and strongly discouraged option, is to utilize the event handler attributes of HTML attributes.
3434

35-
``` js
36-
Inline code directly on HTML elements being clicked.
35+
``` html
36+
<!--Inline code directly on HTML elements being clicked.-->
3737
<a href="javascript:alert('Hello World!');">Click Me!</a>
3838
<button onClick="alert('Good Bye World');">Click Me Too!</a>
3939
```

0 commit comments

Comments
 (0)