Skip to content

Commit 4f99486

Browse files
14 - React useState
1 parent 63ce3db commit 4f99486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<body>
77
<h1>Hello world</h1>
88
<div id='app'></div>
9-
<button id='myBtn'>hello btn</button>
9+
<button id='myBtn'>hello btn {btnClickCount}</button>
1010
<script>
1111
var btn = document.getElementById("myBtn")
1212
btn.addEventListener('click', (event)=>{

0 commit comments

Comments
 (0)