Fix task to prevent warning about <button> left open

pull/2496/head
Daniel Vassallo 7 years ago committed by GitHub
parent 58531cbf49
commit ab449c5832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ At the heart of Svelte is a powerful system of *reactivity* for keeping the DOM
To demonstrate it, we first need to wire up an event handler. Replace line 9 with this: To demonstrate it, we first need to wire up an event handler. Replace line 9 with this:
```html ```html
<button on:click={handleClick}> <button on:click={handleClick}/>
``` ```
Inside the `handleClick` function, all we need to do is change the value of `count`: Inside the `handleClick` function, all we need to do is change the value of `count`:

Loading…
Cancel
Save