mirror of
https://github.com/viatsko/awesome-vscode.git
synced 2024-06-26 14:12:17 +00:00
Update theme-template.js
This commit is contained in:
parent
3f21014dd8
commit
a3868630b5
|
@ -1,8 +1,8 @@
|
|||
const btn = document.getElementById('btn')
|
||||
const btn = document.getElementById ('btn')
|
||||
let count = 0
|
||||
|
||||
function render() {
|
||||
btn.innerText = `Count: ${count}`
|
||||
btn.innerText = `Count: ${count}`
|
||||
}
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
|
@ -11,4 +11,4 @@ btn.addEventListener('click', () => {
|
|||
count += 1
|
||||
render()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user