Skip to content

Commit 286ed8b

Browse files
Kentamanosscottgonzalez
authored andcommitted
Fixing a closing tag
<button> tag should be closed with </button>, not </a>
1 parent 07c5f81 commit 286ed8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/running-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The last option is to use the event handler attributes of HTML elements. This me
3232
```
3333
<!-- Inline code directly on HTML elements being clicked. -->
3434
<a href="javascript:alert( 'Hello World' );">Click Me!</a>
35-
<button onClick="alert( 'Good Bye World' );">Click Me Too!</a>
35+
<button onClick="alert( 'Good Bye World' );">Click Me Too!</button>
3636
```
3737

3838
### Placement

0 commit comments

Comments
 (0)