From 80e0b75d5580abfa9d6d0f098e264799ffc8feb0 Mon Sep 17 00:00:00 2001 From: didier amyot Date: Fri, 20 Oct 2023 18:59:08 -0400 Subject: [PATCH] boom --- .gitignore | 1 + muchomuch/exercice_001/exo1.html | 96 +++++++++++++++++++++++++++++++ muchomuch/exercice_001/exo1.js | 6 ++ muchomuch/exercice_001/index.html | 25 ++++++++ muchomuch/exercice_001/script.js | 4 ++ 5 files changed, 132 insertions(+) create mode 100644 .gitignore create mode 100644 muchomuch/exercice_001/exo1.html create mode 100644 muchomuch/exercice_001/exo1.js create mode 100644 muchomuch/exercice_001/index.html create mode 100644 muchomuch/exercice_001/script.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/muchomuch/exercice_001/exo1.html b/muchomuch/exercice_001/exo1.html new file mode 100644 index 0000000..cfe32a3 --- /dev/null +++ b/muchomuch/exercice_001/exo1.html @@ -0,0 +1,96 @@ + + + + + + title + + + +
+ +
+
+

#main-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/muchomuch/exercice_001/exo1.js b/muchomuch/exercice_001/exo1.js new file mode 100644 index 0000000..8363314 --- /dev/null +++ b/muchomuch/exercice_001/exo1.js @@ -0,0 +1,6 @@ +document.getElementById("main-title").innerText = "Input Output"; + +function exo1b(){ + let userInput = document.getElementById("input-1").value; + document.getElementById("result-box-1").innerText = userInput; +} diff --git a/muchomuch/exercice_001/index.html b/muchomuch/exercice_001/index.html new file mode 100644 index 0000000..420c926 --- /dev/null +++ b/muchomuch/exercice_001/index.html @@ -0,0 +1,25 @@ + + + + + title + + + + +

+ + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/muchomuch/exercice_001/script.js b/muchomuch/exercice_001/script.js new file mode 100644 index 0000000..434a114 --- /dev/null +++ b/muchomuch/exercice_001/script.js @@ -0,0 +1,4 @@ +function sayHello(){ + let output = document.getElementById("telephon-number").value; + document.getElementById('wording').innerText = output +} \ No newline at end of file