d
This commit is contained in:
1 parent
80e0b75d55
commit
028e72828f
4 files changed
-29
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -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>
|
||||
@@ -1,4 +0,0 @@
|
||||
function sayHello(){
|
||||
let output = document.getElementById("telephon-number").value;
|
||||
document.getElementById('wording').innerText = output
|
||||
}
|
||||
Reference in new issue
Block a user