added correction of homework 2
This commit is contained in:
1 parent
b61954a456
commit
735389d37c
4 files changed
+206
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user