← Back to JavaScript exercises

26. Change Image on Click

Result appears here
button.onclick=()=>output.textContent="Image changed";