This commit is contained in:
didier amyot committed 2023-10-20 19:05:03 -04:00
1 parent 80e0b75d55
commit 028e72828f
4 files changed
-29

No files matched your search

File renamed without changes.
File renamed without changes.
-25
View File
@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<script src="script.js"></script>
</head>
<body>
<h1><span id="wording"></span></h1>
<form>
<label>
Numéro de téléphone
<input type="text" id="telephon-number"/>
</label>
</form>
<button type="button" onclick="sayHello()">Cliquez sur moi!</button>
</body>
</html>
-4
View File
@@ -1,4 +0,0 @@
function sayHello(){
let output = document.getElementById("telephon-number").value;
document.getElementById('wording').innerText = output
}