Fixed button Tag on day 11 HTML Example

The HTML button example would not work because the button tag was being closed before the onclick="greetPeople()" part. Might be confusing for beginners trying to follow along.
pull/88/head
Eduardo França 5 years ago committed by GitHub
parent 8bc961899c
commit 5d8da28ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ Event handling in HTML
<title>30 Days Of React App</title>
</head>
<body>
<button>onclick="greetPeople()">Greet People</button>
<button onclick="greetPeople()">Greet People</button>
<script>
const greetPeople = () => {
alert('Welcome to 30 Days Of React Challenge')

Loading…
Cancel
Save