Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ script.js
File
script.js
dad jokes/script.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
jokeEl = document.getElementById(
'joke'
)
2
const
jokeBtn = document.getElementById(
'jokeBtn'
)
3
4
jokeBtn.addEventListener(
'click'
, generateJoke)
Callers
nothing calls this directly
Calls
1
generateJoke
Function · 0.85
Tested by
no test coverage detected