Rename helper library to get-error-message

This commit is contained in:
Steve Kinney
2024-10-01 16:58:41 -05:00
parent 417bcb39c9
commit 75e9bb7ca7
13 changed files with 34 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
export function createButton() {
const button = document.createElement('button');
button.textContent = 'Click Me';
button.addEventListener('click', () => {
button.textContent = 'Clicked!';
});
return button;
}