Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 9, 2024
1 parent 83ea8f1 commit 4c63f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ export default class Counter extends HTMLElement {
render() {
const { count } = this;

// note that {count} has to be wrapped in its own HTML tag
return (
<div>
<button onclick={this.count -= 1}> -</button>
<!-- note that {count} has to be wrapped in its own HTML tag -->
<span>You have clicked <span class="red">{count}</span> times</span>
<button onclick={this.increment}> +</button>
</div>
Expand Down

0 comments on commit 4c63f76

Please sign in to comment.