diff --git a/homework2/evaluation.mjs b/homework2/evaluation.mjs
new file mode 100644
index 0000000..ed42629
--- /dev/null
+++ b/homework2/evaluation.mjs
@@ -0,0 +1,20 @@
+import mocha from "https://esm.sh/mocha@10.2.0"
+import {assert} from "https://esm.sh/chai@4.3.10"
+mocha.setup('bdd');
+
+function sleep(ms) {
+ return new Promise(resolve => setTimeout(resolve, ms));
+}
+it('should run a bogus test', () => {
+ assert.equal(1 + 1, 2);
+});
+
+it("should copy text", async () => {
+ const expt = "toto";
+ document.getElementById("input-1").value = expt;
+ document.getElementById("button-1").click();
+ await sleep(1000);
+ assert.equal(expt, document.getElementById("result-box-1").innerText)
+
+});
+mocha.run();
\ No newline at end of file
diff --git a/homework2/index.html b/homework2/index.html
new file mode 100644
index 0000000..4f7e50c
--- /dev/null
+++ b/homework2/index.html
@@ -0,0 +1,137 @@
+
+
+
+
+ title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #result-box-1
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+ #result-box-2
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+ #result-box-3
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+ #result-box-4
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/homework2/script.js b/homework2/script.js
new file mode 100644
index 0000000..38df685
--- /dev/null
+++ b/homework2/script.js
@@ -0,0 +1,17 @@
+
+
+function exo1b() {
+ let userInput = document.getElementById("input-1").value;
+ document.getElementById("result-box-1").innerText = userInput;
+}
+
+document.getElementById("button-1").onclick = exo1b;
+
+
+function exo1c() {
+ let userInput = document.getElementById("input-2").value;
+
+ document.getElementById("result-box-3").innerText = getExo1c;
+}
+
+document.getElementById("button-2").onclick = exo1b;
\ No newline at end of file
diff --git a/homework2/test.html b/homework2/test.html
new file mode 100644
index 0000000..8e4727c
--- /dev/null
+++ b/homework2/test.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Mocha Tests
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file