commit 3507aa67c9e135cf12b549173c1a61a895596145 Author: Sebastian Qvarfordt Date: Wed Feb 12 17:42:00 2025 +0100 initial diff --git a/app.js b/app.js new file mode 100644 index 0000000..a41c8f5 --- /dev/null +++ b/app.js @@ -0,0 +1,7 @@ +import { addNumbers } from "./utils.js"; + +const addBox = document.createElement("input"); + +addBox.value = addNumbers(1, 3); + +document.body.append(addBox); diff --git a/index.html b/index.html new file mode 100644 index 0000000..1bfdb02 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + + Hello, world! + + + + + + + + + + diff --git a/utils.js b/utils.js new file mode 100644 index 0000000..42cf3db --- /dev/null +++ b/utils.js @@ -0,0 +1 @@ +export const addNumbers = (a, b) => a + b;